Skip to content

Commit 1e40eb1

Browse files
author
Andrew Brookins
committed
Fix Python 3.7 compatibility
1 parent 73bd2e1 commit 1e40eb1

File tree

3 files changed

+60
-9
lines changed

3 files changed

+60
-9
lines changed

aredis_om/model/model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@
2121
Type,
2222
TypeVar,
2323
Union,
24-
get_args,
25-
get_origin,
2624
no_type_check,
2725
)
26+
from typing_extensions import get_args, get_origin
2827

2928
import aioredis
3029
from aioredis.client import Pipeline

poetry.lock

Lines changed: 57 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ types-six = "^1.16.1"
3434
python-ulid = "^1.0.3"
3535
python-dotenv = "^0.19.1"
3636
cleo = "1.0.0a4"
37+
typing-extensions = "^4.0.0"
38+
hiredis = "^2.0.0"
3739

3840
[tool.poetry.dev-dependencies]
3941
mypy = "^0.910"

0 commit comments

Comments
 (0)