From 81e4d909bd0a3395c264c122cf5a8b181eb4de0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 3 Nov 2025 10:47:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20param=20docs=20for=20`D?= =?UTF-8?q?epends()`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fastapi/param_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastapi/param_functions.py b/fastapi/param_functions.py index 6c908bdcd..e32f75593 100644 --- a/fastapi/param_functions.py +++ b/fastapi/param_functions.py @@ -2256,12 +2256,12 @@ def Depends( # noqa: N802 * `"function"`: start the dependency before the *path operation function* that handles the request, end the dependency after the *path operation function* ends, but **before** the response is sent back to the client. - So, the dependency function will be executed *around* the *path operation + So, the dependency function will be executed **around** the *path operation **function***. * `"request"`: start the dependency before the *path operation function* that handles the request (similar to when using `"function"`), but end **after** the response is sent back to the client. So, the dependency - function will be executed *around* the **request** and response cycle. + function will be executed **around** the **request** and response cycle. """ ), ] = None,