Skip to content

Commit afbed47

Browse files
committed
also fix the type in the dataclass
1 parent 6c95e05 commit afbed47

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
@@ -213,7 +213,7 @@ class FieldInfoMetadata:
213213
ondelete: OnDeleteType | UndefinedType = Undefined
214214
unique: bool | UndefinedType = Undefined
215215
index: bool | UndefinedType = Undefined
216-
sa_type: type[Any] | UndefinedType = Undefined
216+
sa_type: SaTypeOrInstance | UndefinedType = Undefined
217217
sa_column: Column[Any] | UndefinedType = Undefined
218218
sa_column_args: Sequence[Any] | UndefinedType = Undefined
219219
sa_column_kwargs: Mapping[str, Any] | UndefinedType = Undefined

0 commit comments

Comments
 (0)