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