Browse Source

🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

pull/5163/head
pre-commit-ci[bot] 1 year ago
parent
commit
a06a45dfd4
  1. 12
      fastapi/security/http.py

12
fastapi/security/http.py

@ -182,10 +182,10 @@ class HTTPBasic(HTTPBase):
str,
Doc(
"""
The text to be returned to the client when `auto_error`
The text to be returned to the client when `auto_error`
raises an HTTP exception.
It useful when you have multiple errors defined: set
It useful when you have multiple errors defined: set
different detail text to easily differentiate which error was raised.
"""
),
@ -310,10 +310,10 @@ class HTTPBearer(HTTPBase):
str,
Doc(
"""
The text to be returned to the client when `auto_error`
The text to be returned to the client when `auto_error`
raises an HTTP exception.
It useful when you have multiple errors defined: set
It useful when you have multiple errors defined: set
different detail text to easily differentiate which error was raised.
"""
),
@ -426,10 +426,10 @@ class HTTPDigest(HTTPBase):
str,
Doc(
"""
The text to be returned to the client when `auto_error`
The text to be returned to the client when `auto_error`
raises an HTTP exception.
It useful when you have multiple errors defined: set
It useful when you have multiple errors defined: set
different detail text to easily differentiate which error was raised.
"""
),

Loading…
Cancel
Save