5
5
import warnings
6
6
from typing import (
7
7
TYPE_CHECKING ,
8
+ Any ,
8
9
AsyncIterator ,
9
10
Awaitable ,
10
11
Callable ,
@@ -6397,12 +6398,12 @@ def function_list(
6397
6398
return self .execute_command ("FUNCTION LIST" , * args )
6398
6399
6399
6400
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
6401
6402
) -> Union [Awaitable [str ], str ]:
6402
6403
return self .execute_command (command , function , numkeys , * keys_and_args )
6403
6404
6404
6405
def fcall (
6405
- self , function , numkeys : int , * keys_and_args : Optional [ List ]
6406
+ self , function , numkeys : int , * keys_and_args : Any
6406
6407
) -> Union [Awaitable [str ], str ]:
6407
6408
"""
6408
6409
Invoke a function.
@@ -6412,7 +6413,7 @@ def fcall(
6412
6413
return self ._fcall ("FCALL" , function , numkeys , * keys_and_args )
6413
6414
6414
6415
def fcall_ro (
6415
- self , function , numkeys : int , * keys_and_args : Optional [ List ]
6416
+ self , function , numkeys : int , * keys_and_args : Any
6416
6417
) -> Union [Awaitable [str ], str ]:
6417
6418
"""
6418
6419
This is a read-only variant of the FCALL command that cannot
0 commit comments