code format

This commit is contained in:
Jakub Miazek
2024-04-24 10:37:08 +02:00
parent 43fe665608
commit c2975fd260
19 changed files with 358 additions and 173 deletions

View File

@@ -21,8 +21,6 @@ async def lifespan(app: FastAPI):
# Load the redis connection
app.state.redis = await get_redis()
try:
# Initialize the cache with the redis connection
redis_cache = await get_cache()
@@ -43,4 +41,9 @@ app.include_router(user_router)
app.include_router(health_router, prefix="/v1/public/health", tags=["Health, Public"])
app.include_router(health_router, prefix="/v1/health", tags=["Health, Bearer"], dependencies=[Depends(AuthBearer())])
app.include_router(
health_router,
prefix="/v1/health",
tags=["Health, Bearer"],
dependencies=[Depends(AuthBearer())],
)