Browse Source

📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md` (#12045)

Co-authored-by: Sebastián Ramírez <[email protected]>
pull/12898/head
xuvjso 5 months ago
committed by GitHub
parent
commit
9aaeb8b057
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

2
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!}

Loading…
Cancel
Save