1818 Sequence ,
1919 Set ,
2020 Tuple ,
21- Union ,
21+ Union , Any ,
2222)
2323
2424from redis .exceptions import ConnectionError , DataError , NoScriptError , RedisError
@@ -6397,12 +6397,12 @@ def function_list(
63976397 return self .execute_command ("FUNCTION LIST" , * args )
63986398
63996399 def _fcall (
6400- self , command : str , function , numkeys : int , * keys_and_args : Optional [ List ]
6400+ self , command : str , function , numkeys : int , * keys_and_args : Any
64016401 ) -> Union [Awaitable [str ], str ]:
64026402 return self .execute_command (command , function , numkeys , * keys_and_args )
64036403
64046404 def fcall (
6405- self , function , numkeys : int , * keys_and_args : Optional [ List ]
6405+ self , function , numkeys : int , * keys_and_args : Any
64066406 ) -> Union [Awaitable [str ], str ]:
64076407 """
64086408 Invoke a function.
@@ -6412,7 +6412,7 @@ def fcall(
64126412 return self ._fcall ("FCALL" , function , numkeys , * keys_and_args )
64136413
64146414 def fcall_ro (
6415- self , function , numkeys : int , * keys_and_args : Optional [ List ]
6415+ self , function , numkeys : int , * keys_and_args : Any
64166416 ) -> Union [Awaitable [str ], str ]:
64176417 """
64186418 This is a read-only variant of the FCALL command that cannot
0 commit comments