Skip to content

Commit

Permalink
Fixed mypy CI failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
eadwinCode committed Jan 9, 2025
1 parent 696f116 commit 2663959
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 2663959

Please sign in to comment.