chore(deps): use fastAPI lifespan
What does this merge request do and why?
Use lifespan of FastAPI
This commit switches to lifespan of FastAPI from deprecated on_server_startup and on_server_shutdown.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.