Skip to content

Commit

Permalink
Fix exceptions from typing on pre-3.9 Python
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinTArthur committed Jul 21, 2021
1 parent c5594db commit df92f1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ddbcereal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ddbcereal.serializing import Serializer
from ddbcereal.types import DateFormat, DynamoDBType, PythonNumber

VERSION = 2, 0, 0
VERSION = 2, 0, 1

ISO_8601 = DateFormat.ISO_8601
UNIX_MILLISECONDS = DateFormat.UNIX_MILLISECONDS
Expand Down
3 changes: 1 addition & 2 deletions ddbcereal/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
# limitations under the License.

import enum
from collections.abc import Mapping
from typing import Sequence, Union
from typing import Mapping, Sequence, Union


class DateFormat(enum.Enum):
Expand Down
4 changes: 4 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Changelog
=========
2.0.1
-----
* Fix exceptions from typing on pre-3.9 Python

2.0.0
-----
* Remove ``nullify_empty_string`` and ``validate_strings`` options. DynamoDB
Expand Down

0 comments on commit df92f1f

Please sign in to comment.