Skip to content

Commit

Permalink
馃帹 Fix more type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Dec 4, 2023
1 parent 115d439 commit f121b00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sqlmodel/_compat.py
Expand Up @@ -224,8 +224,8 @@ def sqlmodel_table_construct(
old_dict = self_instance.__dict__.copy()
# End SQLModel override

fields_values: dict[str, Any] = {}
defaults: dict[
fields_values: Dict[str, Any] = {}
defaults: Dict[
str, Any
] = {} # keeping this separate from `fields_values` helps us compute `_fields_set`
for name, field in cls.model_fields.items():
Expand Down

0 comments on commit f121b00

Please sign in to comment.