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 Jun 16, 2024
1 parent a34e951 commit 980e7d6
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 @@ -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,
Expand Down

0 comments on commit 980e7d6

Please sign in to comment.