From 06ad55c8a499b72ef91017fc9b1c91e7a65098e9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 00:53:44 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cl/api/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cl/api/utils.py b/cl/api/utils.py index 799d607260..6a132fc297 100644 --- a/cl/api/utils.py +++ b/cl/api/utils.py @@ -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