55import warnings
66from typing import (
77 TYPE_CHECKING ,
8+ Any ,
89 AsyncIterator ,
910 Awaitable ,
1011 Callable ,
@@ -6397,12 +6398,12 @@ def function_list(
63976398 return self .execute_command ("FUNCTION LIST" , * args )
63986399
63996400 def _fcall (
6400- self , command : str , function , numkeys : int , * keys_and_args : Optional [ List ]
6401+ self , command : str , function , numkeys : int , * keys_and_args : Any
64016402 ) -> Union [Awaitable [str ], str ]:
64026403 return self .execute_command (command , function , numkeys , * keys_and_args )
64036404
64046405 def fcall (
6405- self , function , numkeys : int , * keys_and_args : Optional [ List ]
6406+ self , function , numkeys : int , * keys_and_args : Any
64066407 ) -> Union [Awaitable [str ], str ]:
64076408 """
64086409 Invoke a function.
@@ -6412,7 +6413,7 @@ def fcall(
64126413 return self ._fcall ("FCALL" , function , numkeys , * keys_and_args )
64136414
64146415 def fcall_ro (
6415- self , function , numkeys : int , * keys_and_args : Optional [ List ]
6416+ self , function , numkeys : int , * keys_and_args : Any
64166417 ) -> Union [Awaitable [str ], str ]:
64176418 """
64186419 This is a read-only variant of the FCALL command that cannot
0 commit comments