summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-08-21 11:54:08 +0300
committerGitHub <noreply@github.com>2022-08-21 11:54:08 +0300
commite95b05a8df4d45d0c8186ac37f57d9edd9235820 (patch)
tree93600f027afc7d6b1573b69eb0501bf6a1a83537
parent771109e74feb3b8f630c047bf4f93da2800ec22e (diff)
downloadredis-py-e95b05a8df4d45d0c8186ac37f57d9edd9235820.tar.gz
fix tdigest.create (#2348)
-rw-r--r--redis/commands/bf/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands/bf/commands.py b/redis/commands/bf/commands.py
index 0fe065d..2b16139 100644
--- a/redis/commands/bf/commands.py
+++ b/redis/commands/bf/commands.py
@@ -351,7 +351,7 @@ class TDigestCommands:
Allocate the memory and initialize the t-digest.
For more information see `TDIGEST.CREATE <https://redis.io/commands/tdigest.create>`_.
""" # noqa
- return self.execute_command(TDIGEST_CREATE, key, compression)
+ return self.execute_command(TDIGEST_CREATE, key, "COMPRESSION", compression)
def reset(self, key):
"""