Skip to content
This repository was archived by the owner on Feb 21, 2023. It is now read-only.

Commit 0aa06df

Browse files
authored
Fix typing on evalsha keys_and_args argument (#1215)
fixes #1214
1 parent 33b2dbd commit 0aa06df

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGES/1214.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix typing on evalsha keys_and_args argument

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Dmitry Vasilishin <dmvass>
2828
Evgenii Morozov <emorozov>
2929
Federico Jaite <fedej>
3030
Hugo <hugovk>
31+
Ian Good
3132
Ihor Gorobets
3233
Ihor Liubymov
3334
Ilya Samartsev

aioredis/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3576,7 +3576,7 @@ def eval(
35763576
"""
35773577
return self.execute_command("EVAL", script, numkeys, *keys_and_args)
35783578

3579-
def evalsha(self, sha: str, numkeys: int, *keys_and_args: str) -> Awaitable:
3579+
def evalsha(self, sha: str, numkeys: int, *keys_and_args: EncodableT) -> Awaitable:
35803580
"""
35813581
Use the ``sha`` to execute a Lua script already registered via EVAL
35823582
or SCRIPT LOAD. Specify the ``numkeys`` the script will touch and the

0 commit comments

Comments
 (0)