]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md` (#12045)
authorxuvjso <xuvjso@gmail.com>
Sun, 10 Nov 2024 17:36:46 +0000 (01:36 +0800)
committerGitHub <noreply@github.com>
Sun, 10 Nov 2024 17:36:46 +0000 (17:36 +0000)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

index 430b7a73f14a3067d71eec8cc340e486531ebb48..70b5945a4666b3e8d968ed00360f5ce7aadde31d 100644 (file)
@@ -39,7 +39,7 @@ The yielded value is what is injected into *path operations* and other dependenc
 {!../../docs_src/dependencies/tutorial007.py!}
 ```
 
-The code following the `yield` statement is executed after the response has been delivered:
+The code following the `yield` statement is executed after creating the response but before sending it:
 
 ```Python hl_lines="5-6"
 {!../../docs_src/dependencies/tutorial007.py!}