Skip to content

Commit

Permalink
are we sure now
Browse files Browse the repository at this point in the history
  • Loading branch information
deeleeramone committed Dec 10, 2024
1 parent 078f5be commit 02d92cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ def __new__(cls, **data):
or MODEL_MAP.get(data.get("type", ""))
)
if not model:
return super().__new__(cls) # type: ignore
return super().__new__(cls) # pylint: disable=E1120

return model.model_validate(data) # type: ignore

Expand Down

0 comments on commit 02d92cd

Please sign in to comment.