@@ -5260,12 +5260,12 @@ class ScriptCommands(CommandsProtocol):
5260
5260
"""
5261
5261
5262
5262
def _eval (
5263
- self , command : str , script : str , numkeys : int , * keys_and_args : list
5263
+ self , command : str , script : str , numkeys : int , * keys_and_args : str
5264
5264
) -> Union [Awaitable [str ], str ]:
5265
5265
return self .execute_command (command , script , numkeys , * keys_and_args )
5266
5266
5267
5267
def eval (
5268
- self , script : str , numkeys : int , * keys_and_args : list
5268
+ self , script : str , numkeys : int , * keys_and_args : str
5269
5269
) -> Union [Awaitable [str ], str ]:
5270
5270
"""
5271
5271
Execute the Lua ``script``, specifying the ``numkeys`` the script
@@ -5280,7 +5280,7 @@ def eval(
5280
5280
return self ._eval ("EVAL" , script , numkeys , * keys_and_args )
5281
5281
5282
5282
def eval_ro (
5283
- self , script : str , numkeys : int , * keys_and_args : list
5283
+ self , script : str , numkeys : int , * keys_and_args : str
5284
5284
) -> Union [Awaitable [str ], str ]:
5285
5285
"""
5286
5286
The read-only variant of the EVAL command
@@ -5299,7 +5299,7 @@ def _evalsha(
5299
5299
return self .execute_command (command , sha , numkeys , * keys_and_args )
5300
5300
5301
5301
def evalsha (
5302
- self , sha : str , numkeys : int , * keys_and_args : list
5302
+ self , sha : str , numkeys : int , * keys_and_args : str
5303
5303
) -> Union [Awaitable [str ], str ]:
5304
5304
"""
5305
5305
Use the ``sha`` to execute a Lua script already registered via EVAL
@@ -5315,7 +5315,7 @@ def evalsha(
5315
5315
return self ._evalsha ("EVALSHA" , sha , numkeys , * keys_and_args )
5316
5316
5317
5317
def evalsha_ro (
5318
- self , sha : str , numkeys : int , * keys_and_args : list
5318
+ self , sha : str , numkeys : int , * keys_and_args : str
5319
5319
) -> Union [Awaitable [str ], str ]:
5320
5320
"""
5321
5321
The read-only variant of the EVALSHA command
0 commit comments