fix: add missing commas for syntax correctness across multiple files
Test / test (push) Successful in 15s

This commit is contained in:
Artem Kashaev
2025-12-01 16:19:19 +05:00
parent ed6c656963
commit 1039fba571
23 changed files with 52 additions and 52 deletions
+3 -3
View File
@@ -46,7 +46,7 @@ class RedisCacheManager:
if self._client is not None:
return
self._client = redis.from_url(
settings.redis_url, encoding="utf-8", decode_responses=False
settings.redis_url, encoding="utf-8", decode_responses=False,
)
await self._refresh_availability()
@@ -63,7 +63,7 @@ class RedisCacheManager:
async with self._lock:
if self._client is None:
self._client = redis.from_url(
settings.redis_url, encoding="utf-8", decode_responses=False
settings.redis_url, encoding="utf-8", decode_responses=False,
)
await self._refresh_availability()
@@ -127,7 +127,7 @@ async def read_json(client: Redis, key: str) -> Any | None:
async def write_json(
client: Redis, key: str, value: Any, ttl_seconds: int, backoff_ms: int
client: Redis, key: str, value: Any, ttl_seconds: int, backoff_ms: int,
) -> None:
"""Serialize data to JSON and store it with TTL using retry/backoff."""
payload = json.dumps(value, separators=(",", ":"), ensure_ascii=True).encode("utf-8")