Skip to content

Commit 79ca31d

Browse files
committed
Make geoip2.mixins geoip2._internal
1 parent 069704a commit 79ca31d

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

HISTORY.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ History
1010
* BREAKING: The ``raw`` attribute on the model classes has been replaced
1111
with a ``to_dict()`` method. This can be used to get a representation of
1212
the object that is suitable for serialization.
13+
* BREAKING: ``geoip2.mixins`` has been made internal. This normally would not
14+
have been used by external code.
1315
* IMPORTANT: Python 3.9 or greater is required. If you are using an older
1416
version, please use an earlier release.
1517
* ``metro_code`` on ``geoip2.record.Location`` has been deprecated. The
File renamed without changes.

geoip2/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from typing import Any, cast, Dict, Optional, Sequence, Union
1818

1919
import geoip2.records
20-
from geoip2.mixins import Model
20+
from geoip2._internal import Model
2121

2222

2323
class Country(Model):

geoip2/records.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from abc import ABCMeta
1414
from typing import Dict, Optional, Type, Sequence, Union
1515

16-
from geoip2.mixins import Model
16+
from geoip2._internal import Model
1717

1818

1919
class Record(Model, metaclass=ABCMeta):

0 commit comments

Comments
 (0)