From 054caf39eeab2fba305660299f2d85200eb81b98 Mon Sep 17 00:00:00 2001 From: Artem Diubkov Date: Tue, 10 Oct 2023 02:35:36 +0300 Subject: [PATCH] fix type hint (#2963) Co-authored-by: d184230 --- 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