dockerfix
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user