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 0c494be commit 215d02dCopy full SHA for 215d02d
sqlmodel/_compat.py
@@ -124,7 +124,7 @@ def init_pydantic_private_attrs(new_object: InstanceOrType["SQLModel"]) -> None:
124
object.__setattr__(new_object, "__pydantic_private__", None)
125
126
def get_annotations(class_dict: Dict[str, Any]) -> Dict[str, Any]:
127
- raw_annotations: dict[str, Any] = class_dict.get("__annotations__", {})
+ raw_annotations: Dict[str, Any] = class_dict.get("__annotations__", {})
128
if sys.version_info >= (3, 14) and "__annotations__" not in class_dict:
129
# See https://github.com/pydantic/pydantic/pull/11991
130
from annotationlib import (
0 commit comments