Skip to content

Commit a97f770

Browse files
committed
remove unnecessary ignore statements
1 parent f629191 commit a97f770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sqlmodel/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def Field(
473473
sa_column_kwargs=sa_column_kwargs,
474474
)
475475
if hasattr(field_info, "metadata"):
476-
field_info.metadata.append(field_metadata) # type: ignore[attr-defined]
476+
field_info.metadata.append(field_metadata)
477477
post_init_field_info(field_info)
478478
return field_info
479479

@@ -809,7 +809,7 @@ def get_column_from_field(field: Any) -> Column: # type: ignore
809809
)
810810
if sa_column_kwargs is not Undefined:
811811
kwargs.update(cast(Dict[Any, Any], sa_column_kwargs))
812-
return Column(sa_type, *args, **kwargs) # type: ignore
812+
return Column(sa_type, *args, **kwargs)
813813

814814

815815
class_registry = weakref.WeakValueDictionary() # type: ignore

0 commit comments

Comments
 (0)