Skip to content

Commit 0172ded

Browse files
d184230d184230
authored andcommitted
fix type hint (#2963)
Co-authored-by: d184230 <dubkov.a@skbkontur.ru>
1 parent e7cc3bb commit 0172ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: redis/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class Redis(RedisModuleCommands, CoreCommands, SentinelCommands):
9494
"""
9595

9696
@classmethod
97-
def from_url(cls, url: str, **kwargs) -> None:
97+
def from_url(cls, url: str, **kwargs) -> "Redis":
9898
"""
9999
Return a Redis client object configured from the given URL
100100

0 commit comments

Comments
 (0)