Skip to content

Commit 683b0c7

Browse files
committed
fix
1 parent b991725 commit 683b0c7

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
@@ -805,7 +805,7 @@ def get_column_from_field(field: Any) -> Union[Column, MappedSQLExpression[Any]]
805805
else:
806806
field_info = field.field_info
807807
sa_column = getattr(field_info, "sa_column", Undefined)
808-
if isinstance(sa_column, (Column, MappedSQLExpression[Any])):
808+
if isinstance(sa_column, (Column, MappedSQLExpression)):
809809
return sa_column
810810
sa_type = get_sqlalchemy_type(field)
811811
primary_key = getattr(field_info, "primary_key", Undefined)

0 commit comments

Comments
 (0)