diff --git a/litestar/controller.py b/litestar/controller.py index b045bfc7e6..5be1bf5fb4 100644 --- a/litestar/controller.py +++ b/litestar/controller.py @@ -209,7 +209,7 @@ def as_router(self) -> Router: router = Router( path=self.path, - route_handlers=self.get_route_handlers(), + route_handlers=self.get_route_handlers(), # type: ignore[arg-type] after_request=self.after_request, after_response=self.after_response, before_request=self.before_request,