Skip to content

Commit

Permalink
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>
  • Loading branch information
2 people authored and vladvildanov committed Sep 27, 2024
1 parent d822f8b commit 50f99e9
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
Expand Up @@ -4927,7 +4927,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``
Expand Down

0 comments on commit 50f99e9

Please sign in to comment.