This commit is contained in:
parent
42313184b0
commit
7370c8ca2d
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user