From e0c601bbbefc043b9509d55ff4d897201c317abe Mon Sep 17 00:00:00 2001 From: maxtaran2010 Date: Fri, 10 Jul 2026 00:56:28 +0300 Subject: [PATCH] Fix typo: re-used -> reused in param_functions.py docstrings Co-Authored-By: Claude Sonnet 4.6 --- 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 1856178fc..5396ca5d0 100644 --- a/fastapi/param_functions.py +++ b/fastapi/param_functions.py @@ -2303,7 +2303,7 @@ def Depends( # noqa: N802 By default, after a dependency is called the first time in a request, if the dependency is declared again for the rest of the request (for example if the dependency is needed by several dependencies), the value will be - re-used for the rest of the request. + reused for the rest of the request. Set `use_cache` to `False` to disable this behavior and ensure the dependency is called again (if declared more than once) in the same request. @@ -2411,7 +2411,7 @@ def Security( # noqa: N802 By default, after a dependency is called the first time in a request, if the dependency is declared again for the rest of the request (for example if the dependency is needed by several dependencies), the value will be - re-used for the rest of the request. + reused for the rest of the request. Set `use_cache` to `False` to disable this behavior and ensure the dependency is called again (if declared more than once) in the same request.