Skip to content

Commit 7ab2fdc

Browse files
committed
🎨 Fix type annotations for Python 3.7 in _compat
1 parent b3fcaf0 commit 7ab2fdc

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
@@ -392,7 +392,7 @@ def set_fields_set(
392392
) -> None:
393393
object.__setattr__(new_object, "__fields_set__", fields)
394394

395-
def get_annotations(class_dict: dict[str, Any]) -> dict[str, Any]:
395+
def get_annotations(class_dict: Dict[str, Any]) -> Dict[str, Any]:
396396
return resolve_annotations( # type: ignore[no-any-return]
397397
class_dict.get("__annotations__", {}),
398398
class_dict.get("__module__", None),

0 commit comments

Comments
 (0)