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
d184230 and d184230 committed Oct 9, 2023
1 parent 787d731 commit 054caf3
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 054caf3

Please sign in to comment.