From 513880574bfd755a0167ed8698681695b1088d61 Mon Sep 17 00:00:00 2001 From: Alex Schmitz Date: Mon, 9 Oct 2023 08:58:39 -0500 Subject: [PATCH] Fixes Redis.from_url() return type --- 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