diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2022-03-14 13:43:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 13:43:05 +0200 |
commit | 9376ed82cd8b8296f5585eb96d137e54b56d723d (patch) | |
tree | 8579dd80f033f2f7fb30fa2585cd191a7ec2888d /redis/cluster.py | |
parent | 8d949a3f39bc6fe17ee90009e78f17b32f69899a (diff) | |
download | redis-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.py | 1 |
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, |