From 2663959f7f4c5dac0f51108b3fb9419230dec59b Mon Sep 17 00:00:00 2001 From: Ezeudoh Tochukwu Date: Thu, 9 Jan 2025 10:26:21 +0100 Subject: [PATCH] Fixed mypy CI failing test --- ninja_extra/controllers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ninja_extra/controllers/base.py b/ninja_extra/controllers/base.py index 4b0a5744..7df91905 100644 --- a/ninja_extra/controllers/base.py +++ b/ninja_extra/controllers/base.py @@ -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]: