Closed genfild closed 1 year ago
The example uses context change, which doesn't work.
async def startup(ctx): ctx["db"] = await create_db()
The following code works ctx['worker'].context["db"] = await create_db()
ctx['worker'].context["db"] = await create_db()
The example uses context change, which doesn't work.
The following code works
ctx['worker'].context["db"] = await create_db()