pre-commit-ci-lite[bot]
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with
1 additions and
20 deletions
-
fastapi/__main__.py
-
fastapi/exceptions.py
-
fastapi/param_functions.py
-
fastapi/requests.py
|
|
@ -1,4 +1,4 @@ |
|
|
#main |
|
|
# main |
|
|
|
|
|
|
|
|
from fastapi.cli import main |
|
|
from fastapi.cli import main |
|
|
|
|
|
|
|
|
|
|
|
@ -14,13 +14,6 @@ class EndpointContext(TypedDict, total=False): |
|
|
line: int |
|
|
line: int |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class HTTPException(StarletteHTTPException): |
|
|
class HTTPException(StarletteHTTPException): |
|
|
""" |
|
|
""" |
|
|
An HTTP exception you can raise in your own code to show errors to the client. |
|
|
An HTTP exception you can raise in your own code to show errors to the client. |
|
|
|
|
|
@ -54,7 +54,6 @@ def Path( # noqa: N802 |
|
|
""" |
|
|
""" |
|
|
), |
|
|
), |
|
|
] = _Unset, |
|
|
] = _Unset, |
|
|
|
|
|
|
|
|
alias_priority: Annotated[ |
|
|
alias_priority: Annotated[ |
|
|
int | None, |
|
|
int | None, |
|
|
Doc( |
|
|
Doc( |
|
|
@ -101,8 +100,6 @@ def Path( # noqa: N802 |
|
|
""" |
|
|
""" |
|
|
), |
|
|
), |
|
|
] = None, |
|
|
] = None, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
gt: Annotated[ |
|
|
gt: Annotated[ |
|
|
float | None, |
|
|
float | None, |
|
|
Doc( |
|
|
Doc( |
|
|
|
|
|
@ -1,11 +1,2 @@ |
|
|
from starlette.requests import HTTPConnection as HTTPConnection # noqa: F401 |
|
|
from starlette.requests import HTTPConnection as HTTPConnection # noqa: F401 |
|
|
from starlette.requests import Request as Request # noqa: F401f |
|
|
from starlette.requests import Request as Request # noqa: F401f |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from starlette.requests import HTTPConnection as HTTPConnection # noqa: F401 |
|
|
|
|
|
from starlette.requests import Request as Request # noqa: F401f |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from starlette.requests import HTTPConnection as HTTPConnection # noqa: F401 |
|
|
|
|
|
from starlette.requests import Request as Request # noqa: F401f |
|
|
|
|
|
|