From d2b233384458869270352b8c99ca682ae480da5f Mon Sep 17 00:00:00 2001 From: Sam Culley Date: Sun, 21 Nov 2021 07:47:59 +0000 Subject: fix: adding sentinelcommands to redis client (#1723) Co-authored-by: Sam Culley --- redis/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/redis/client.py b/redis/client.py index 3230043..dc6693d 100755 --- a/redis/client.py +++ b/redis/client.py @@ -6,7 +6,8 @@ import re import threading import time import warnings -from redis.commands import CoreCommands, RedisModuleCommands, list_or_args +from redis.commands import (CoreCommands, RedisModuleCommands, + SentinelCommands, list_or_args) from redis.connection import (ConnectionPool, UnixDomainSocketConnection, SSLConnection) from redis.lock import Lock @@ -606,7 +607,7 @@ def parse_set_result(response, **options): return response and str_if_bytes(response) == 'OK' -class Redis(RedisModuleCommands, CoreCommands, object): +class Redis(RedisModuleCommands, CoreCommands, SentinelCommands, object): """ Implementation of the Redis protocol. -- cgit v1.2.1