@@ -5253,12 +5253,12 @@ class ScriptCommands(CommandsProtocol):
5253
5253
"""
5254
5254
5255
5255
def _eval (
5256
- self , command : str , script : str , numkeys : int , * keys_and_args : list
5256
+ self , command : str , script : str , numkeys : int , * keys_and_args : str
5257
5257
) -> Union [Awaitable [str ], str ]:
5258
5258
return self .execute_command (command , script , numkeys , * keys_and_args )
5259
5259
5260
5260
def eval (
5261
- self , script : str , numkeys : int , * keys_and_args : list
5261
+ self , script : str , numkeys : int , * keys_and_args : str
5262
5262
) -> Union [Awaitable [str ], str ]:
5263
5263
"""
5264
5264
Execute the Lua ``script``, specifying the ``numkeys`` the script
@@ -5273,7 +5273,7 @@ def eval(
5273
5273
return self ._eval ("EVAL" , script , numkeys , * keys_and_args )
5274
5274
5275
5275
def eval_ro (
5276
- self , script : str , numkeys : int , * keys_and_args : list
5276
+ self , script : str , numkeys : int , * keys_and_args : str
5277
5277
) -> Union [Awaitable [str ], str ]:
5278
5278
"""
5279
5279
The read-only variant of the EVAL command
@@ -5292,7 +5292,7 @@ def _evalsha(
5292
5292
return self .execute_command (command , sha , numkeys , * keys_and_args )
5293
5293
5294
5294
def evalsha (
5295
- self , sha : str , numkeys : int , * keys_and_args : list
5295
+ self , sha : str , numkeys : int , * keys_and_args : str
5296
5296
) -> Union [Awaitable [str ], str ]:
5297
5297
"""
5298
5298
Use the ``sha`` to execute a Lua script already registered via EVAL
@@ -5308,7 +5308,7 @@ def evalsha(
5308
5308
return self ._evalsha ("EVALSHA" , sha , numkeys , * keys_and_args )
5309
5309
5310
5310
def evalsha_ro (
5311
- self , sha : str , numkeys : int , * keys_and_args : list
5311
+ self , sha : str , numkeys : int , * keys_and_args : str
5312
5312
) -> Union [Awaitable [str ], str ]:
5313
5313
"""
5314
5314
The read-only variant of the EVALSHA command
0 commit comments