Skip to content

Commit e95b05a

Browse files
authored
fix tdigest.create (#2348)
1 parent 771109e commit e95b05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/commands/bf/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def create(self, key, compression=100):
351351
Allocate the memory and initialize the t-digest.
352352
For more information see `TDIGEST.CREATE <https://redis.io/commands/tdigest.create>`_.
353353
""" # noqa
354-
return self.execute_command(TDIGEST_CREATE, key, compression)
354+
return self.execute_command(TDIGEST_CREATE, key, "COMPRESSION", compression)
355355

356356
def reset(self, key):
357357
"""

0 commit comments

Comments
 (0)