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 f629191 commit a97f770Copy full SHA for a97f770
sqlmodel/main.py
@@ -473,7 +473,7 @@ def Field(
473
sa_column_kwargs=sa_column_kwargs,
474
)
475
if hasattr(field_info, "metadata"):
476
- field_info.metadata.append(field_metadata) # type: ignore[attr-defined]
+ field_info.metadata.append(field_metadata)
477
post_init_field_info(field_info)
478
return field_info
479
@@ -809,7 +809,7 @@ def get_column_from_field(field: Any) -> Column: # type: ignore
809
810
if sa_column_kwargs is not Undefined:
811
kwargs.update(cast(Dict[Any, Any], sa_column_kwargs))
812
- return Column(sa_type, *args, **kwargs) # type: ignore
+ return Column(sa_type, *args, **kwargs)
813
814
815
class_registry = weakref.WeakValueDictionary() # type: ignore
0 commit comments