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. 2
      fastapi/__main__.py
  2. 7
      fastapi/exceptions.py
  3. 3
      fastapi/param_functions.py
  4. 9
      fastapi/requests.py

2
fastapi/__main__.py

@ -1,4 +1,4 @@
#main
# main
from fastapi.cli import main

7
fastapi/exceptions.py

@ -14,13 +14,6 @@ class EndpointContext(TypedDict, total=False):
line: int
class HTTPException(StarletteHTTPException):
"""
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,
alias_priority: Annotated[
int | None,
Doc(
@ -101,8 +100,6 @@ def Path( # noqa: N802
"""
),
] = None,
gt: Annotated[
float | None,
Doc(

9
fastapi/requests.py

@ -1,11 +1,2 @@
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
from starlette.requests import HTTPConnection as HTTPConnection # noqa: F401
from starlette.requests import Request as Request # noqa: F401f

Loading…
Cancel
Save