fastapi-cache icon indicating copy to clipboard operation
fastapi-cache copied to clipboard

on_event deprecation

Open waltzforvenus opened this issue 1 year ago • 0 comments

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/

waltzforvenus avatar Apr 23 '24 15:04 waltzforvenus