diff --git a/minet/types.py b/minet/types.py index 1a5564dab1..e03fec1732 100644 --- a/minet/types.py +++ b/minet/types.py @@ -8,9 +8,9 @@ # NOTE: yes this is repetitive, but mypy only understands this, don't ask questions... if sys.version_info >= (3, 8): - from typing import Literal + from typing import Literal, get_origin, get_type_hints, get_args else: - from typing_extensions import Literal + from typing_extensions import Literal, get_origin, get_type_hints, get_args if sys.version_info >= (3, 10): from typing import TypeGuard, Concatenate, ParamSpec