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 a20d15b commit c9765b3Copy full SHA for c9765b3
sqlmodel/main.py
@@ -109,7 +109,8 @@ def __dataclass_transform__(
109
return lambda a: a
110
111
112
-class FieldInfo(PydanticFieldInfo):
+class FieldInfo(PydanticFieldInfo): # type: ignore[misc]
113
+ # mypy - ignore that PydanticFieldInfo is @final
114
def __init__(self, default: Any = Undefined, **kwargs: Any) -> None:
115
primary_key = kwargs.pop("primary_key", False)
116
nullable = kwargs.pop("nullable", Undefined)
0 commit comments