summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authordvora-h <67596500+dvora-h@users.noreply.github.com>2022-03-14 13:43:05 +0200
committerGitHub <noreply@github.com>2022-03-14 13:43:05 +0200
commit9376ed82cd8b8296f5585eb96d137e54b56d723d (patch)
tree8579dd80f033f2f7fb30fa2585cd191a7ec2888d /redis/client.py
parent8d949a3f39bc6fe17ee90009e78f17b32f69899a (diff)
downloadredis-py-9376ed82cd8b8296f5585eb96d137e54b56d723d.tar.gz
Add support for CLUSTER ADDSLOTSRANGE (#2017)
* add cluster addslotsrange * Add support for CLUSTER ADDSLOTSRANGE * docstring * fix test * skip test * linters
Diffstat (limited to 'redis/client.py')
-rwxr-xr-xredis/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index b12ad57..465bb5f 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -710,6 +710,7 @@ class AbstractRedis:
"CLIENT GETREDIR": int,
"CLIENT TRACKINGINFO": lambda r: list(map(str_if_bytes, r)),
"CLUSTER ADDSLOTS": bool_ok,
+ "CLUSTER ADDSLOTSRANGE": bool_ok,
"CLUSTER COUNT-FAILURE-REPORTS": lambda x: int(x),
"CLUSTER COUNTKEYSINSLOT": lambda x: int(x),
"CLUSTER DELSLOTS": bool_ok,