Fix Python 3.7 compatibility

This commit is contained in:
Andrew Brookins 2021-11-24 13:38:35 -08:00
parent 73bd2e1423
commit 1e40eb1649
3 changed files with 60 additions and 9 deletions

View file

@ -21,10 +21,9 @@ from typing import (
Type,
TypeVar,
Union,
get_args,
get_origin,
no_type_check,
)
from typing_extensions import get_args, get_origin
import aioredis
from aioredis.client import Pipeline