🌐 Update Chinese translation for docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md#12028
Merged
alejsdev merged 6 commits intofastapi:masterfrom Aug 19, 2024
Merged
Conversation
Contributor
Contributor
|
Thanks for your time and interest in helping us! 🙇 We are going to review these little changes 🤓 |
Contributor
Contributor
Contributor
Contributor
Author
|
I noticed that the chinese version of the "dependencies with yield" section of the documentation is outdated, so I provided an updated translation to prevent users from being misled by outdated information and to align with the latest English documentation. |
Aruelius
approved these changes
Aug 18, 2024
Member
|
Hi @xuvjso |
This reverts commit 3ee6126.
Contributor
|
📝 Docs preview for commit 182017a at: https://d843aa0a.fastapitiangolo.pages.dev Modified Pages |
Member
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md
Contributor
Author
black-redoc
pushed a commit
to black-redoc/fastapi
that referenced
this pull request
Sep 12, 2024
black-redoc
pushed a commit
to black-redoc/fastapi
that referenced
this pull request
Sep 12, 2024
black-redoc
pushed a commit
to black-redoc/fastapi
that referenced
this pull request
Sep 12, 2024
s-rigaud
pushed a commit
to s-rigaud/fastapi
that referenced
this pull request
Jan 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#10831 ensures that the code following
yieldexecutes after the response is create but before it is sent to the client. The statement in #3620 (comment) was outdated, it is now safe to commit the session afteryieldas the code is guaranteed to execute after the response is created but before it is sent.