Skip to content

Switch to fastapi lifespan for startup/shutdown handling #47

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

Merged
merged 2 commits into from
Jul 29, 2024
Merged

Conversation

Iain-S
Copy link
Contributor

@Iain-S Iain-S commented Jul 3, 2024

For the lifespan generator, see https://fastapi.tiangolo.com/advanced/events/#lifespan-events

The type hint was suggested by PyCharm and is not actually related to the lifespan change.

@Iain-S Iain-S requested a review from dlpbc July 22, 2024 09:57
Copy link
Contributor

@dlpbc dlpbc left a comment

Choose a reason for hiding this comment

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

Looks good to me.
Thanks.

@Iain-S Iain-S merged commit 4836a23 into main Jul 29, 2024
5 checks passed
@Iain-S Iain-S deleted the lifecyle branch January 10, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants