fastapi-cache
fastapi-cache copied to clipboard
on_event deprecation
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/