Skip to content

Commit ec15cdb

Browse files
dmkulazhenkodvora-h
authored andcommitted
Fix typing for HashCommand.hdel (#3029)
Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com>
1 parent f1bde7e commit ec15cdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis/commands/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4927,7 +4927,7 @@ class HashCommands(CommandsProtocol):
49274927
see: https://redis.io/topics/data-types-intro#redis-hashes
49284928
"""
49294929

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

0 commit comments

Comments
 (0)