From 261a1b49d502d5a96c0431dc7ea6dfe69538a36b Mon Sep 17 00:00:00 2001 From: d184230 Date: Tue, 26 Sep 2023 17:07:01 +0300 Subject: [PATCH] fix type hint --- redis/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/client.py b/redis/client.py index 4923143543..b526d7787b 100755 --- a/redis/client.py +++ b/redis/client.py @@ -94,7 +94,7 @@ class Redis(RedisModuleCommands, CoreCommands, SentinelCommands): """ @classmethod - def from_url(cls, url: str, **kwargs) -> None: + def from_url(cls, url: str, **kwargs) -> "Redis": """ Return a Redis client object configured from the given URL