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

Shutdown event handlers are deprecated in Starlette #9

Open
itssimon opened this issue Nov 1, 2023 · 0 comments
Open

Shutdown event handlers are deprecated in Starlette #9

itssimon opened this issue Nov 1, 2023 · 0 comments
Assignees

Comments

@itssimon
Copy link
Member

itssimon commented Nov 1, 2023

The ApitallyMiddleware for Starlette currently relies on a shutdown event handler to send a final set of requests data to Apitally before the application exits. Shutdown event handlers are deprecated in Starlette and will be removed in version 1.0. Instead a lifespan handler should be used.

@itssimon itssimon self-assigned this Nov 1, 2023
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

No branches or pull requests

1 participant