Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.7k
🌐 Update Chinese translation fordocs/zh/docs/tutorial/dependencies/dependencies-with-yield.md#12028
Merged
alejsdev merged 6 commits intofastapi:masterfromAug 19, 2024
Conversation
Contributor
Contributor
estebanx64 commentedAug 16, 2024
Thanks for your time and interest in helping us! 🙇 We are going to review these little changes 🤓 |
Contributor
Contributor
Contributor
ContributorAuthor
xuvjso commentedAug 17, 2024
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 changesAug 18, 2024
Member
alejsdev commentedAug 19, 2024
Hi@xuvjso |
This reverts commit3ee6126.
Contributor
📝 Docs preview for commit182017a at:https://d843aa0a.fastapitiangolo.pages.dev Modified Pages |
Member
alejsdev commentedAug 19, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
docs/zh/docs/tutorial/dependencies/dependencies-with-yield.mdContributorAuthor
xuvjso commentedAug 19, 2024
black-redoc pushed a commit to black-redoc/fastapi that referenced this pull requestSep 12, 2024
black-redoc pushed a commit to black-redoc/fastapi that referenced this pull requestSep 12, 2024
black-redoc pushed a commit to black-redoc/fastapi that referenced this pull requestSep 12, 2024
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull requestJan 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 freeto 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.