Closed priyanshu-panwar closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 75.92%. Comparing base (
a427dfe
) to head (d27cafd
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
[✨Update✨] How to use with Latest FastAPI version
With the latest FastAPI version,
on_event
lifespan functions are depreceated. Here is the official doc. We need to make use ofasynccontextmanager
with the latest fastapi.Here is an example how to use lifespan (Repeated Tasks) functions with latest fastapi:
Only difference is to call our tasks from lifespan function instead of using
on_event
function.