mirror of
https://github.com/PaiGramTeam/sqlmodel.git
synced 2024-11-22 07:08:06 +00:00
fix py3.9+ _AnnotatedAlias
This commit is contained in:
parent
e8247308fc
commit
dcb406f0ed
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user