What's the correct way to call dagger under FastAPI server.
Right now having
async with dagger.connection(dagger.Config(log_output=open(os.devnull, "w"))):
inside api handler results in frequent
dagger.ClientConnectionError: Failed to establish client connection to the Dagger session: No active engine session to connect to
Any recipe to keep clean session active during application lifetime that I'm no aware of?