|
|
|
@ -13,6 +13,7 @@ from typing import ( |
|
|
|
Union, |
|
|
|
) |
|
|
|
|
|
|
|
from annotated_doc import Doc |
|
|
|
from fastapi import routing |
|
|
|
from fastapi.datastructures import Default, DefaultPlaceholder |
|
|
|
from fastapi.exception_handlers import ( |
|
|
|
@ -43,7 +44,7 @@ from starlette.requests import Request |
|
|
|
from starlette.responses import HTMLResponse, JSONResponse, Response |
|
|
|
from starlette.routing import BaseRoute |
|
|
|
from starlette.types import ASGIApp, ExceptionHandler, Lifespan, Receive, Scope, Send |
|
|
|
from typing_extensions import Annotated, Doc, deprecated |
|
|
|
from typing_extensions import Annotated, deprecated |
|
|
|
|
|
|
|
AppType = TypeVar("AppType", bound="FastAPI") |
|
|
|
|
|
|
|
|