Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 16, 2024
1 parent 25cec55 commit 06ad55c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cl/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,9 @@ def invert_user_logs(
dates = make_date_str_list(start, end)
for d in dates:
for version in ["v3", "v4"]:
pipe.zrange(f"api:{version}.user.d:{d}.counts", 0, -1, withscores=True)
pipe.zrange(
f"api:{version}.user.d:{d}.counts", 0, -1, withscores=True
)
results = pipe.execute()

# results is a list of results for each of the zrange queries above. Zip
Expand Down

0 comments on commit 06ad55c

Please sign in to comment.