redis: Do not override AbstractRedis.RESPONSE_CALLBACKS (#8592)

This commit is contained in:
Nikita Sobolev
2022-08-22 16:51:51 +03:00
committed by GitHub
parent cb15481633
commit 383eca299b

View File

@@ -74,10 +74,9 @@ def parse_slowlog_get(response, **options): ...
_LockType = TypeVar("_LockType")
class AbstractRedis:
RESPONSE_CALLBACKS: dict[Any, Any]
RESPONSE_CALLBACKS: dict[str, Any]
class Redis(AbstractRedis, RedisModuleCommands, CoreCommands[_StrType], SentinelCommands, Generic[_StrType]):
RESPONSE_CALLBACKS: Any
@overload
@classmethod
def from_url(