Skip to content

Commit

Permalink
Set arbitrary_types_allowed=True in APIModel
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Aug 25, 2024
1 parent 5b2fd5a commit 9a3003b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genshin/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _get_mi18n(
return self._mi18n[key][lang]

if not typing.TYPE_CHECKING:
model_config = ConfigDict(frozen=False)
model_config = ConfigDict(frozen=False, arbitrary_types_allowed=True)


class Unique(abc.ABC):
Expand Down

0 comments on commit 9a3003b

Please sign in to comment.