We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c1919e commit 40af690Copy full SHA for 40af690
sqlmodel/main.py
@@ -629,7 +629,7 @@ def __init__(
629
ann = raw_ann.__args__[0]
630
if origin is Annotated:
631
ann = get_args(raw_ann)[0]
632
- cls.__annotations__[rel_name] = Mapped[ann]
+ cls.__annotations__[rel_name] = Mapped[ann] # type: ignore[valid-type]
633
else:
634
ann = raw_ann
635
# Plain forward references, for models not yet defined, are not
0 commit comments