Skip to content

Commit 215d02d

Browse files
committed
typing Dict with capital
1 parent 0c494be commit 215d02d

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
@@ -124,7 +124,7 @@ def init_pydantic_private_attrs(new_object: InstanceOrType["SQLModel"]) -> None:
124124
object.__setattr__(new_object, "__pydantic_private__", None)
125125

126126
def get_annotations(class_dict: Dict[str, Any]) -> Dict[str, Any]:
127-
raw_annotations: dict[str, Any] = class_dict.get("__annotations__", {})
127+
raw_annotations: Dict[str, Any] = class_dict.get("__annotations__", {})
128128
if sys.version_info >= (3, 14) and "__annotations__" not in class_dict:
129129
# See https://github.com/pydantic/pydantic/pull/11991
130130
from annotationlib import (

0 commit comments

Comments
 (0)