diff --git a/fastapi/routing.py b/fastapi/routing.py index 2d58dcb1cb..da2a38c53f 100644 --- a/fastapi/routing.py +++ b/fastapi/routing.py @@ -1001,7 +1001,7 @@ class APIRoute(routing.Route): ) @cached_property - def app(self) -> ASGIApp: + def app(self) -> ASGIApp: # type: ignore return request_response(self.get_route_handler()) def init_attributes(self) -> None: