You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def_evalsha(
self, command: str, sha: str, numkeys: int, *keys_and_args: list
) ->Union[Awaitable[str], str]:
returnself.execute_command(command, sha, numkeys, *keys_and_args)
defevalsha(
self, sha: str, numkeys: int, *keys_and_args: str
) ->Union[Awaitable[str], str]:
""" Use the ``sha`` to execute a Lua script already registered via EVAL or SCRIPT LOAD. Specify the ``numkeys`` the script will touch and the key names and argument values in ``keys_and_args``. Returns the result of the script. In practice, use the object returned by ``register_script``. This function exists purely for Redis API completion. For more information see https://redis.io/commands/evalsha """returnself._evalsha("EVALSHA", sha, numkeys, *keys_and_args)
The text was updated successfully, but these errors were encountered:
https://github.com/redis/redis-py/blob/master/redis/commands/core.py#L5697
The last arg is declared as
*keys_and_args: str
, but it calls https://github.com/redis/redis-py/blob/master/redis/commands/core.py#L5692 and there it is declared as list.The text was updated successfully, but these errors were encountered: