Browse Source

🎨 Auto format

pull/13944/head
pre-commit-ci-lite[bot] 5 months ago
committed by GitHub
parent
commit
cc07b41d65
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      fastapi/applications.py

2
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,

Loading…
Cancel
Save