dockerfix

This commit is contained in:
2025-09-10 11:00:46 +03:00
parent 698e8be638
commit 75c78dacad
4 changed files with 110 additions and 18 deletions

View File

@@ -156,9 +156,12 @@ async def get_authors_with_stats(
cache_key = f"authors:stats:limit={limit}:offset={offset}:order={order_value}:filter={filter_str}"
# Функция для получения авторов из БД
async def fetch_authors_with_stats() -> list[Any]:
async def fetch_authors_with_stats(**kwargs: Any) -> list[Any]:
"""
Выполняет запрос к базе данных для получения авторов со статистикой.
Args:
**kwargs: Дополнительные параметры от cached_query (игнорируются)
"""
try:
with local_session() as session: