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 35825de commit 39f5bf5Copy full SHA for 39f5bf5
sqlmodel/_compat.py
@@ -180,7 +180,7 @@ def is_field_noneable(field: "FieldInfo") -> bool:
180
if not field.is_required():
181
if field.default is Undefined:
182
return False
183
- if field.annotation is None or field.annotation is NoneType: # type: ignore[comparison-overlap]
+ if field.annotation is None or field.annotation is NoneType:
184
return True
185
186
0 commit comments