Skip to content

Commit 68beb72

Browse files
committed
Fix type ignore comment for annotation retrieval
1 parent b867ad7 commit 68beb72

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
@@ -570,7 +570,7 @@ def get_config(name: str) -> Any:
570570
annotated_field = next(
571571
ann
572572
for c in new_cls.__mro__
573-
if (ann := get_annotations(c.__dict__).get(k))
573+
if (ann := get_annotations(c.__dict__).get(k)) # type: ignore[arg-type]
574574
)
575575
annotated_field_meta = getattr(
576576
annotated_field, "__metadata__", (())

0 commit comments

Comments
 (0)