Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

📝 Updatedocs/en/docs/tutorial/dependencies/dependencies-with-yield.md#12045

Merged
tiangolo merged 2 commits intofastapi:masterfrom
xuvjso:dependencies-with-yield-en-docs-fix
Nov 10, 2024
Merged

📝 Updatedocs/en/docs/tutorial/dependencies/dependencies-with-yield.md#12045
tiangolo merged 2 commits intofastapi:masterfrom
xuvjso:dependencies-with-yield-en-docs-fix

Conversation

@xuvjso
Copy link
Contributor

After FastAPI 0.106.0, the code after yield now runs after the response is created but before it is sent to the client.

@github-actionsgithub-actionsbot added the docsDocumentation about how to use FastAPI labelAug 19, 2024
@alejsdevalejsdev changed the titleUpdate docs/en/docs/tutorial/dependencies/dependencies-with-yield.mdUpdatedocs/en/docs/tutorial/dependencies/dependencies-with-yield.mdAug 19, 2024
@alejsdevalejsdev changed the titleUpdatedocs/en/docs/tutorial/dependencies/dependencies-with-yield.md📝 Updatedocs/en/docs/tutorial/dependencies/dependencies-with-yield.mdAug 19, 2024
@github-actions
Copy link
Contributor

Copy link
Member

@svlandegsvlandeg left a comment
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Hi, thanks for your contribution! 🙏

I'm not sure I fully understand the suggestion here, and what "but before sending it" actually means. You mention that this has changed after FastAPI 0.106.0, can you share a link to the relevant commit/PR/change log?

[UPDATE]: Ah, found it, this is probably related to#10831?

tiangolo reacted with rocket emoji
Copy link
Member

@svlandegsvlandeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yep I think this looks good, thanks again! 🙏

tiangolo reacted with rocket emoji
@github-actions
Copy link
Contributor

Copy link
Member

@tiangolotiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yep, good catch@xuvjso. thanks! 🚀 🍰

@tiangolotiangolo merged commit9aaeb8b intofastapi:masterNov 10, 2024
@xuvjsoxuvjso deleted the dependencies-with-yield-en-docs-fix branchNovember 14, 2024 17:34
s-rigaud pushed a commit to s-rigaud/fastapi that referenced this pull requestJan 23, 2025
…md` (fastapi#12045)Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tiangolotiangolotiangolo approved these changes

@svlandegsvlandegsvlandeg approved these changes

Assignees

No one assigned

Labels

docsDocumentation about how to use FastAPI

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@xuvjso@tiangolo@svlandeg

Comments


[8]ページ先頭

©2009-2026 Movatter.jp