From c12732f8b822e8a1e45ad606538288e91e57e238 Mon Sep 17 00:00:00 2001 From: Dmitry Kulazhenko Date: Tue, 31 Oct 2023 15:56:50 +0300 Subject: [PATCH] Fix typing for `HashCommand.hdel` --- 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 e73553e47e..554c132843 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -4919,7 +4919,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``