Skip to content

Commit 7c132b6

Browse files
committed
one more type ignore
1 parent 27dd6c4 commit 7c132b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmodel/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def set_config_value(
103103
model.model_config[parameter] = value # type: ignore[literal-required]
104104

105105
def get_model_fields(model: InstanceOrType[BaseModel]) -> Dict[str, "FieldInfo"]:
106-
return model.model_fields
106+
return model.model_fields # type: ignore[arg-type]
107107

108108
def get_fields_set(
109109
object: InstanceOrType["SQLModel"],

0 commit comments

Comments
 (0)