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 <[email protected]>
  • Loading branch information
dmkulazhenko and dvora-h authored Jan 9, 2024
1 parent f9b6a5e commit bd4ce15
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 bd4ce15

Please sign in to comment.