Skip to content

Commit 46ce312

Browse files
committed
Add type ignore comment for field assignment
1 parent 1b69033 commit 46ce312

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
@@ -572,7 +572,7 @@ def get_config(name: str) -> Any:
572572
)
573573
field = next(
574574
(f for f in annotated_field_meta if isinstance(f, FieldInfo)), v
575-
)
575+
) # type: ignore[assignment]
576576
field.annotation = v.annotation
577577
# Guarantee the field has the correct type
578578
col = get_column_from_field(field)

0 commit comments

Comments
 (0)