@@ -5253,12 +5253,12 @@ class ScriptCommands(CommandsProtocol):
52535253 """
52545254
52555255 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
52575257 ) -> Union [Awaitable [str ], str ]:
52585258 return self .execute_command (command , script , numkeys , * keys_and_args )
52595259
52605260 def eval (
5261- self , script : str , numkeys : int , * keys_and_args : list
5261+ self , script : str , numkeys : int , * keys_and_args : str
52625262 ) -> Union [Awaitable [str ], str ]:
52635263 """
52645264 Execute the Lua ``script``, specifying the ``numkeys`` the script
@@ -5273,7 +5273,7 @@ def eval(
52735273 return self ._eval ("EVAL" , script , numkeys , * keys_and_args )
52745274
52755275 def eval_ro (
5276- self , script : str , numkeys : int , * keys_and_args : list
5276+ self , script : str , numkeys : int , * keys_and_args : str
52775277 ) -> Union [Awaitable [str ], str ]:
52785278 """
52795279 The read-only variant of the EVAL command
@@ -5292,7 +5292,7 @@ def _evalsha(
52925292 return self .execute_command (command , sha , numkeys , * keys_and_args )
52935293
52945294 def evalsha (
5295- self , sha : str , numkeys : int , * keys_and_args : list
5295+ self , sha : str , numkeys : int , * keys_and_args : str
52965296 ) -> Union [Awaitable [str ], str ]:
52975297 """
52985298 Use the ``sha`` to execute a Lua script already registered via EVAL
@@ -5308,7 +5308,7 @@ def evalsha(
53085308 return self ._evalsha ("EVALSHA" , sha , numkeys , * keys_and_args )
53095309
53105310 def evalsha_ro (
5311- self , sha : str , numkeys : int , * keys_and_args : list
5311+ self , sha : str , numkeys : int , * keys_and_args : str
53125312 ) -> Union [Awaitable [str ], str ]:
53135313 """
53145314 The read-only variant of the EVALSHA command
0 commit comments