import-fix-2
All checks were successful
Deploy on push / deploy (push) Successful in 1m30s

This commit is contained in:
Untone 2024-02-25 12:06:41 +03:00
parent 42313184b0
commit 7370c8ca2d

View File

@ -71,7 +71,7 @@ def add_author_stat_columns(q):
def get_with_stat(q): def get_with_stat(q):
q = add_author_stat_columns(q) q = add_author_stat_columns(q)
records = [] records = []
logger.debug(q.replace('\n', ' ')) logger.debug(f'{q}'.replace('\n', ' '))
with local_session() as session: with local_session() as session:
for [entity, shouts_stat, authors_stat, followers_stat] in session.execute(q): for [entity, shouts_stat, authors_stat, followers_stat] in session.execute(q):
entity.stat = { entity.stat = {