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

📝 Add warning about lifespan functions and backwards compatibility with events#10734

Merged
tiangolo merged 4 commits intofastapi:masterfrom
jacob-indigo:lifespan_events_warning
Jan 12, 2024
Merged

📝 Add warning about lifespan functions and backwards compatibility with events#10734
tiangolo merged 4 commits intofastapi:masterfrom
jacob-indigo:lifespan_events_warning

Conversation

@jacob-indigo
Copy link
Contributor

Backwards compatibility withstartup/shutdown events in implemented in Starlette with a default lifespan function that calls the registered event handlers. If there is a user-provided lifespan function, those event handlers will no longer be called.

@tiangolo
Copy link
Member

📝 Docs preview for commita117d0e at:https://a824f295.fastapitiangolo.pages.dev

@tiangolo
Copy link
Member

📝 Docs preview for commitd432e56 at:https://c6dbf0de.fastapitiangolo.pages.dev

@jacob-indigo
Copy link
ContributorAuthor

@tiangolo This is my first time contributing to FastAPI. Is there anything else I need to do for this PR?

alejsdev reacted with hooray emoji

@tiangolo
Copy link
Member

📝 Docs preview for commitdf51abb at:https://e35849a0.fastapitiangolo.pages.dev

@tiangolo
Copy link
Member

📝 Docs preview for commit19db41c at:https://1d141478.fastapitiangolo.pages.dev

@alejsdevalejsdev changed the title✏️ docs: Add warning about lifespan functions and backwards compatibility with events📝 Add warning about lifespan functions and backwards compatibility with eventsJan 10, 2024
@alejsdevalejsdev added the docsDocumentation about how to use FastAPI labelJan 10, 2024
@tiangolo
Copy link
Member

Good idea, thank you for your contribution@jacob-indigo! 🍰 ☕

@tiangolotiangolo merged commit7e0e16f intofastapi:masterJan 12, 2024
nilslindemann pushed a commit to nilslindemann/fastapi that referenced this pull requestJan 13, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@alejsdevalejsdevalejsdev 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

@jacob-indigo@tiangolo@alejsdev

Comments


[8]ページ先頭

©2009-2026 Movatter.jp