formatted project by python-black

This commit is contained in:
2026-11-10 09:52:42 +03:00
parent 7cd02da51d
commit 9899ee4676
66 changed files with 2517 additions and 944 deletions
+1 -2
View File
@@ -4,6 +4,7 @@ from redis.backoff import NoBackoff
from app.core.config import Settings
def create_redis_client(settings: Settings) -> Redis:
password = (
settings.redis_password.get_secret_value() if settings.redis_password else None
@@ -21,5 +22,3 @@ def create_redis_client(settings: Settings) -> Redis:
decode_responses=True,
)
return Redis.from_pool(pool)