From 6cae3e52d023b5e74c0d71a7a20ebc64ae0be9d1 Mon Sep 17 00:00:00 2001 From: Micha Albert Date: Sat, 5 Oct 2024 15:23:19 -0400 Subject: [PATCH] add required arg to fix error --- backend/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/main.py b/backend/main.py index f3474c7..be24906 100644 --- a/backend/main.py +++ b/backend/main.py @@ -172,7 +172,7 @@ async def check_for_new(): @asynccontextmanager -async def lifespan(): +async def lifespan(_): await db.connect() async with httpx.AsyncClient() as client: for stream in await db.stream.find_many():