almost-dict
Some checks are pending
Deploy to core / deploy (push) Waiting to run

This commit is contained in:
Untone 2024-02-21 19:03:49 +03:00
parent 2e3d85b43d
commit 59c46172c4

View File

@ -107,8 +107,8 @@ def query_follows(user_id: str):
)
# Convert query results to lists of dictionaries
authors = [author.to_dict() for author in session.execute(authors_query)]
topics = [topic.to_dict() for topic in session.execute(topics_query)]
authors = [author.dict() for author in session.execute(authors_query)]
topics = [topic.dict() for topic in session.execute(topics_query)]
# shouts_query = (
# session.query(Shout)
# .join(ShoutReactionsFollower, ShoutReactionsFollower.follower == author_id)