diff options
author | dvora-h <67596500+dvora-h@users.noreply.github.com> | 2022-03-14 13:43:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 13:43:36 +0200 |
commit | 5d5f8923e48f7fe2d30959db50cc9bcfc953578b (patch) | |
tree | 5655c97f8c5c5f793794a54ba9bb89a9b8e4f087 /redis/cluster.py | |
parent | 9376ed82cd8b8296f5585eb96d137e54b56d723d (diff) | |
download | redis-py-5d5f8923e48f7fe2d30959db50cc9bcfc953578b.tar.gz |
Add support for CLUSTER DELSLOTSRANGE (#2018)
* delslotsrange
* test
* linters
* skip test
* linters
Diffstat (limited to 'redis/cluster.py')
-rw-r--r-- | redis/cluster.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redis/cluster.py b/redis/cluster.py index b6e2ab2..cfec4fc 100644 --- a/redis/cluster.py +++ b/redis/cluster.py @@ -311,6 +311,7 @@ class RedisCluster(RedisClusterCommands): [ "CLUSTER COUNTKEYSINSLOT", "CLUSTER DELSLOTS", + "CLUSTER DELSLOTSRANGE", "CLUSTER GETKEYSINSLOT", "CLUSTER SETSLOT", ], @@ -324,6 +325,7 @@ class RedisCluster(RedisClusterCommands): "CLUSTER COUNT-FAILURE-REPORTS": int, "CLUSTER COUNTKEYSINSLOT": int, "CLUSTER DELSLOTS": bool, + "CLUSTER DELSLOTSRANGE": bool, "CLUSTER FAILOVER": bool, "CLUSTER FORGET": bool, "CLUSTER GETKEYSINSLOT": list, |