summaryrefslogtreecommitdiff
path: root/redis/cluster.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/cluster.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/cluster.py')
-rw-r--r--redis/cluster.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/cluster.py b/redis/cluster.py
index 8c2dfc2..b6e2ab2 100644
--- a/redis/cluster.py
+++ b/redis/cluster.py
@@ -320,6 +320,7 @@ class RedisCluster(RedisClusterCommands):
CLUSTER_COMMANDS_RESPONSE_CALLBACKS = {
"CLUSTER ADDSLOTS": bool,
+ "CLUSTER ADDSLOTSRANGE": bool,
"CLUSTER COUNT-FAILURE-REPORTS": int,
"CLUSTER COUNTKEYSINSLOT": int,
"CLUSTER DELSLOTS": bool,