Skip to content

Commit

Permalink
fixed type hint of hrandfield method
Browse files Browse the repository at this point in the history
Signed-off-by: amirreza <[email protected]>
  • Loading branch information
amirreza8002 committed Dec 16, 2024
1 parent 02c2bfe commit 869c834
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:
) -> bytes | list[bytes] | None:
"""
Return a random field from the hash value stored at key.
Expand Down

0 comments on commit 869c834

Please sign in to comment.