pre-commit-ci-lite[bot]
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
5 deletions
-
fastapi/routing.py
|
|
@ -25,6 +25,7 @@ from enum import Enum, IntEnum |
|
|
from typing import ( |
|
|
from typing import ( |
|
|
Annotated, |
|
|
Annotated, |
|
|
Any, |
|
|
Any, |
|
|
|
|
|
TypedDict, |
|
|
TypeVar, |
|
|
TypeVar, |
|
|
cast, |
|
|
cast, |
|
|
) |
|
|
) |
|
|
@ -90,9 +91,7 @@ from starlette.routing import Mount as Mount # noqa |
|
|
from starlette.types import AppType, ASGIApp, Lifespan, Receive, Scope, Send |
|
|
from starlette.types import AppType, ASGIApp, Lifespan, Receive, Scope, Send |
|
|
from starlette.websockets import WebSocket |
|
|
from starlette.websockets import WebSocket |
|
|
from typing_extensions import deprecated |
|
|
from typing_extensions import deprecated |
|
|
import inspect |
|
|
|
|
|
import weakref |
|
|
|
|
|
from typing import Any, TypedDict |
|
|
|
|
|
|
|
|
|
|
|
# Copy of starlette.routing.request_response modified to include the |
|
|
# Copy of starlette.routing.request_response modified to include the |
|
|
# dependencies' AsyncExitStack |
|
|
# dependencies' AsyncExitStack |
|
|
|