mirror of https://github.com/tiangolo/fastapi.git
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
This commit is contained in:
parent
b7df8eb110
commit
eca8836c94
|
|
@ -10,12 +10,12 @@ from typing import (
|
|||
FrozenSet,
|
||||
List,
|
||||
Mapping,
|
||||
Optional,
|
||||
Sequence,
|
||||
Set,
|
||||
Tuple,
|
||||
Type,
|
||||
Union,
|
||||
Optional,
|
||||
)
|
||||
|
||||
from fastapi.exceptions import RequestErrorModel
|
||||
|
|
|
|||
|
|
@ -2485,7 +2485,7 @@ class FastAPI(Starlette):
|
|||
),
|
||||
] = False,
|
||||
response_model_context: Annotated[
|
||||
Optional[Dict[str, Any]],
|
||||
Optional[Dict[str, Any]],
|
||||
Doc(
|
||||
"""
|
||||
Additional context to pass to Pydantic when creating the response.
|
||||
|
|
|
|||
|
|
@ -1577,7 +1577,7 @@ class APIRouter(routing.Router):
|
|||
] = False,
|
||||
response_model_context: Annotated[
|
||||
Optional[Dict[str, Any]],
|
||||
Doc(
|
||||
Doc(
|
||||
"""
|
||||
Additional context to pass to Pydantic when creating the response.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue