diff --git a/sqlmodel/main.py b/sqlmodel/main.py index 4ffeb59..14dbffd 100644 --- a/sqlmodel/main.py +++ b/sqlmodel/main.py @@ -55,10 +55,7 @@ if sys.version_info >= (3, 8): else: from typing_extensions import get_args, get_origin -if sys.version_info >= (3, 9): - from typing import Annotated, _AnnotatedAlias -else: - from typing_extensions import Annotated, _AnnotatedAlias +from typing_extensions import Annotated, _AnnotatedAlias _T = TypeVar("_T") NoArgAnyCallable = Callable[[], Any]