Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typing for HashCommand.hdel (#3029)
Browse files Browse the repository at this point in the history
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
dmkulazhenko and dvora-h committed Feb 25, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7b1965a commit d63ba59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/commands/core.py
Original file line number Diff line number Diff line change
@@ -4920,7 +4920,7 @@ class HashCommands(CommandsProtocol):
see: https://redis.io/topics/data-types-intro#redis-hashes
"""

def hdel(self, name: str, *keys: List) -> Union[Awaitable[int], int]:
def hdel(self, name: str, *keys: str) -> Union[Awaitable[int], int]:
"""
Delete ``keys`` from hash ``name``

0 comments on commit d63ba59

Please sign in to comment.