From ec15cdb63c7f3e268fa9d3980bfce25b85ffec58 Mon Sep 17 00:00:00 2001 From: Dmitry Kulazhenko Date: Tue, 9 Jan 2024 18:17:31 +0300 Subject: [PATCH] Fix typing for `HashCommand.hdel` (#3029) Co-authored-by: dvora-h <67596500+dvora-h@users.noreply.github.com> --- redis/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/commands/core.py b/redis/commands/core.py index 8fbd0d9104..2c694e0c51 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -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``