Solutionunvalidated
Pass `BackgroundTasks` from the route into your dependency. — when declared inside an async dependency. Tension: the background job never runs. Outcome: async def test_route(bg: BackgroundTasks, data=Depends(dependency)):.
ef75e15e-232f-4777-899f-d605ef455f16
Pass BackgroundTasks from the route into your dependency. — when declared inside an async dependency. Tension: the background job never runs. Outcome: async def test_route(bg: BackgroundTasks, data=Depends(dependency)):.