From: xuvjso Date: Sun, 10 Nov 2024 17:36:46 +0000 (+0800) Subject: 📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md` (#12045) X-Git-Tag: 0.115.5~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9aaeb8b0573494608440236efc43088dc57fa9ea;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md` (#12045) Co-authored-by: Sebastián Ramírez --- diff --git a/docs/en/docs/tutorial/dependencies/dependencies-with-yield.md b/docs/en/docs/tutorial/dependencies/dependencies-with-yield.md index 430b7a73f1..70b5945a46 100644 --- a/docs/en/docs/tutorial/dependencies/dependencies-with-yield.md +++ b/docs/en/docs/tutorial/dependencies/dependencies-with-yield.md @@ -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!}