Skip to content

Commit

Permalink
fix(typing): "Fix" typing for Controller.as_router (#3571)
Browse files Browse the repository at this point in the history
ignore type error
  • Loading branch information
provinzkraut committed Nov 28, 2024
1 parent 09c47e3 commit 2fff70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,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,
Expand Down

0 comments on commit 2fff70b

Please sign in to comment.