Browse Source

Fix typo: re-used -> reused in param_functions.py docstrings

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
pull/15968/head
maxtaran2010 2 weeks ago
parent
commit
e0c601bbbe
  1. 4
      fastapi/param_functions.py

4
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 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 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 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 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. 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 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 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 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 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. dependency is called again (if declared more than once) in the same request.

Loading…
Cancel
Save