From f964ba9027744714162727aad78f23884ef2dc4d Mon Sep 17 00:00:00 2001 From: Adrien Date: Mon, 12 Feb 2024 23:38:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Add=20dummy=20commit=20to=20chec?= =?UTF-8?q?k=20the=20reviewdog=20filter=20mode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/api_server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/api_server.py b/backend/api_server.py index c16b406..e156806 100755 --- a/backend/api_server.py +++ b/backend/api_server.py @@ -18,13 +18,14 @@ from api.routers import line, stop @asynccontextmanager -async def lifespan(app: FastAPI): +async def lifespan(app: FastAPI) -> None: FastAPICache.init(redis_backend, prefix="api", enable=settings.cache.enable) await db.connect(settings.db, settings.clear_static_data) if settings.clear_static_data: await idfm_interface.startup() + print("OK") yield await db.disconnect()