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 9f356db commit 33604b4Copy full SHA for 33604b4
sqlmodel/main.py
@@ -482,7 +482,7 @@ def Relationship(
482
return relationship_info
483
484
485
-def get_annotated_relationshipinfo(t: Type) -> Optional[RelationshipInfo]:
+def get_annotated_relationshipinfo(t: type[Any]) -> Optional[RelationshipInfo]:
486
"""Get the first RelationshipInfo from Annotated or None if not Annotated with RelationshipInfo."""
487
if get_origin(t) is not Annotated:
488
return None
0 commit comments