Skip to content

Commit

Permalink
Merge pull request #225 from eadwinCode/mypy_fix
Browse files Browse the repository at this point in the history
fix: MyPy 1.14.1 support
  • Loading branch information
eadwinCode authored Jan 9, 2025
2 parents 696f116 + 2663959 commit 2da191d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ninja_extra/controllers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def __call__(self, cls: ControllerClassType) -> ControllerClassType:
fail_silently(inject, constructor_or_class=cls)

ControllerRegistry().add_controller(cls)
return cls # type:ignore[return-value]
return cls

@property
def path_operations(self) -> Dict[str, PathView]:
Expand Down

0 comments on commit 2da191d

Please sign in to comment.