Browse Source

🎨 Auto format

pull/15218/head
pre-commit-ci-lite[bot] 4 months ago
committed by GitHub
parent
commit
7f101ba5b0
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      fastapi/exceptions.py
  2. 3
      fastapi/param_functions.py
  3. 9
      fastapi/requests.py

7
fastapi/exceptions.py

@ -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.

3
fastapi/param_functions.py

@ -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(

9
fastapi/requests.py

@ -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

Loading…
Cancel
Save