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 39f5bf5 commit 479bbb6Copy full SHA for 479bbb6
sqlmodel/_compat.py
@@ -123,7 +123,7 @@ def init_pydantic_private_attrs(new_object: InstanceOrType["SQLModel"]) -> None:
123
object.__setattr__(new_object, "__pydantic_private__", None)
124
125
def get_annotations(class_dict: Dict[str, Any]) -> Dict[str, Any]:
126
- return class_dict.get("__annotations__", {})
+ return class_dict.get("__annotations__", {}) # type: ignore
127
128
def is_table_model_class(cls: Type[Any]) -> bool:
129
config = getattr(cls, "model_config", {})
0 commit comments