Skip to content

Commit f4097b3

Browse files
author
Mikhail Koviazin
committed
Revert "fixed type hint of hrandfield method"
This reverts commit 1fc6f9b. Signed-off-by: Mikhail Koviazin <[email protected]>
1 parent 10e40d0 commit f4097b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

valkey/commands/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2153,7 +2153,7 @@ def pttl(self, name: KeyT) -> ResponseT:
21532153

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

0 commit comments

Comments
 (0)