pre-commit-ci-lite[bot]
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
2 deletions
-
fastapi/applications.py
|
|
|
@ -1133,11 +1133,9 @@ class FastAPI(Starlette): |
|
|
|
scope["root_path"] = self.root_path |
|
|
|
await super().__call__(scope, receive, send) |
|
|
|
|
|
|
|
|
|
|
|
def mount(self, path: str, app: ASGIApp, name: str | None = None) -> None: |
|
|
|
self.router._mount(path, app=app, name=name) |
|
|
|
|
|
|
|
|
|
|
|
def add_api_route( |
|
|
|
self, |
|
|
|
path: str, |
|
|
|
|