Skip to content

Commit

Permalink
Fixes Redis.from_url() return type
Browse files Browse the repository at this point in the history
  • Loading branch information
davemcphee committed Oct 9, 2023
1 parent 787d731 commit 5138805
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 5138805

Please sign in to comment.