Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eadwinCode committed Dec 15, 2023
1 parent fcce57f commit 44098d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ninja_extra/controllers/model/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def create(self, schema: PydanticModel, **kwargs: t.Any) -> t.Any:
data.update(kwargs)

try:
instance = self.model._default_manager.create(**data) # type: ignore[var-annotated]
instance = self.model._default_manager.create(**data)
return instance
except TypeError as tex: # pragma: no cover
tb = traceback.format_exc()
Expand Down

0 comments on commit 44098d2

Please sign in to comment.