We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the example Readme file @app.on_event("startup") is being used but at the moment it is being deprecated and getting replaced by lifespan functions.
Ideally the documentation should be updated to compliment the updates on the fastapi library itself.
For more info check: https://fastapi.tiangolo.com/advanced/events/
The text was updated successfully, but these errors were encountered:
Merge pull request #426 from CharlesPerrotMinotHCHB/patch-2
865dba1
Switch from on_event to lifespan asynccontextmanager #422
No branches or pull requests
In the example Readme file @app.on_event("startup") is being used but at the moment it is being deprecated and getting replaced by lifespan functions.
Ideally the documentation should be updated to compliment the updates on the fastapi library itself.
For more info check:
https://fastapi.tiangolo.com/advanced/events/
The text was updated successfully, but these errors were encountered: