Skip to content

Commit

Permalink
Merge pull request #155 from amirreza8002/hrandtype
Browse files Browse the repository at this point in the history
fixed type hint of hrandfield method
  • Loading branch information
mkmkme authored Dec 16, 2024
2 parents 1d0ac55 + 1fc6f9b commit d5bb6bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion valkey/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2153,7 +2153,7 @@ def pttl(self, name: KeyT) -> ResponseT:

def hrandfield(
self, key: str, count: int = None, withvalues: bool = False
) -> ResponseT:
) -> Union[bytes, List[bytes], None]:
"""
Return a random field from the hash value stored at key.
Expand Down

0 comments on commit d5bb6bf

Please sign in to comment.