From 383eca299b948d8da6c1c5b5a0db64f71ebd3245 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 22 Aug 2022 16:51:51 +0300 Subject: [PATCH] `redis`: Do not override `AbstractRedis.RESPONSE_CALLBACKS` (#8592) --- stubs/redis/redis/client.pyi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stubs/redis/redis/client.pyi b/stubs/redis/redis/client.pyi index 0ba5c326b..bfc06d530 100644 --- a/stubs/redis/redis/client.pyi +++ b/stubs/redis/redis/client.pyi @@ -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(