Skip to content

Commit

Permalink
fix type hint (#2963)
Browse files Browse the repository at this point in the history
Co-authored-by: d184230 <dubkov.a@skbkontur.ru>
  • Loading branch information
2 people authored and dvora-h committed Feb 25, 2024
1 parent e7cc3bb commit 0172ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0172ded

Please sign in to comment.