mirror of https://github.com/tiangolo/fastapi.git
📝 Update `docs/en/docs/tutorial/dependencies/dependencies-with-yield.md` (#12045)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
parent
b32f612162
commit
9aaeb8b057
|
|
@ -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…
Reference in New Issue