Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FastAPI example to use lifespan events #2356

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

pquentin
Copy link
Member

Prompted by #2349. According to https://fastapi.tiangolo.com/advanced/events/, the shutdown event is deprecated.

@pquentin pquentin merged commit a94eccc into elastic:main Nov 2, 2023
8 of 10 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 2, 2023
github-actions bot pushed a commit that referenced this pull request Nov 2, 2023
github-actions bot pushed a commit that referenced this pull request Nov 2, 2023
@pquentin pquentin deleted the update-fastapi-example branch November 2, 2023 09:26
pquentin added a commit that referenced this pull request Nov 2, 2023
(cherry picked from commit a94eccc)

Co-authored-by: Quentin Pradet <[email protected]>
pquentin added a commit that referenced this pull request Nov 3, 2023
* Update FastAPI example to use lifespan events (#2356)

(cherry picked from commit a94eccc)

* Trigger CI

---------

Co-authored-by: Quentin Pradet <[email protected]>
pquentin added a commit that referenced this pull request Nov 3, 2023
* Update FastAPI example to use lifespan events (#2356)

(cherry picked from commit a94eccc)

Co-authored-by: Quentin Pradet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants