From a06a45dfd49ac6b5d4d8d1215ccc619dee51931c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 17 Feb 2024 14:38:21 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/security/http.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fastapi/security/http.py b/fastapi/security/http.py index 17273d91e..138e79074 100644 --- a/fastapi/security/http.py +++ b/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. """ ),