Skip to content

Commit 2534099

Browse files
committed
Use Any instead of type[Any]
1 parent 33604b4 commit 2534099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmodel/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ def Relationship(
482482
return relationship_info
483483

484484

485-
def get_annotated_relationshipinfo(t: type[Any]) -> Optional[RelationshipInfo]:
485+
def get_annotated_relationshipinfo(t: Any) -> Optional[RelationshipInfo]:
486486
"""Get the first RelationshipInfo from Annotated or None if not Annotated with RelationshipInfo."""
487487
if get_origin(t) is not Annotated:
488488
return None

0 commit comments

Comments
 (0)