diff --git a/sqlmodel/main.py b/sqlmodel/main.py index 38e668e..4ffeb59 100644 --- a/sqlmodel/main.py +++ b/sqlmodel/main.py @@ -56,7 +56,7 @@ else: from typing_extensions import get_args, get_origin if sys.version_info >= (3, 9): - from typing import Annotated + from typing import Annotated, _AnnotatedAlias else: from typing_extensions import Annotated, _AnnotatedAlias