mirror of https://github.com/tiangolo/fastapi.git
🎨 Auto format
This commit is contained in:
parent
c6987ceabb
commit
cc07b41d65
|
|
@ -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…
Reference in New Issue