Skip to content

Commit

Permalink
style: re run black formatter
Browse files Browse the repository at this point in the history
Signed-off-by: carlos.vdr <[email protected]>
  • Loading branch information
carlosvdr committed Sep 22, 2023
1 parent f1fb020 commit b88bc2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions autoagora/logs_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ def return_query_body(self, query):
query = query.definitions[0].selection_set # type: ignore
query = "query " + graphql.print_ast(query)
return query


async def delete_unnecesary_logs(self, subgraph_ipfs_hash: str, months_to_delete: int = 6):
async def delete_unnecesary_logs(
self, subgraph_ipfs_hash: str, months_to_delete: int = 6
):
async with self.pgpool.acquire() as connection:
await connection.execute(
"""
Expand All @@ -37,8 +38,7 @@ async def delete_unnecesary_logs(self, subgraph_ipfs_hash: str, months_to_delete
AND subgraph = $2;
""",
months_to_delete,
subgraph_ipfs_hash

subgraph_ipfs_hash,
)

async def get_most_frequent_queries(
Expand Down

0 comments on commit b88bc2a

Please sign in to comment.