Skip to content

Commit 7a51870

Browse files
🐛 Fix type annotation in Field constructor (#1304)
Co-authored-by: Sofie Van Landeghem <[email protected]>
1 parent 850dd74 commit 7a51870

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
@@ -341,7 +341,7 @@ def Field(
341341
regex: Optional[str] = None,
342342
discriminator: Optional[str] = None,
343343
repr: bool = True,
344-
sa_column: Union[Column, UndefinedType] = Undefined, # type: ignore
344+
sa_column: Union[Column[Any], UndefinedType] = Undefined,
345345
schema_extra: Optional[Dict[str, Any]] = None,
346346
) -> Any: ...
347347

0 commit comments

Comments
 (0)