From 29c02158b78c3b87b8f897ac56ce30d11b23ceaa Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 13 Dec 2023 16:32:02 +0300 Subject: [PATCH] debug-authors-2 --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index e8779a65..e38fd315 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -172,7 +172,7 @@ async def get_author(_, _info, slug="", user=None, author_id=None): elif author_id: q = select(Author).where(Author.id == author_id) q = add_author_stat_columns(q) - + print(f"[resolvers.author] SQL: {q}") authors = get_authors_from_query(q) if authors: return authors[0]