From afeac7848c7fdc90c902ad1c057eed87c68fcf3e Mon Sep 17 00:00:00 2001 From: Daniil <43828414+7ckingBest@users.noreply.github.com> Date: Mon, 27 Nov 2023 02:50:37 +0100 Subject: [PATCH] Fix hdel command's annotation --- 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 f97724d030..f4034f3659 100644 --- a/redis/commands/core.py +++ b/redis/commands/core.py @@ -4926,7 +4926,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``