mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix type erorr in callable
This commit is contained in:
parent
4b0164770c
commit
b954af33cf
|
@ -56,7 +56,7 @@ def require_login(func: Callable[[Any, Any], Any]):
|
|||
|
||||
|
||||
# Type should really be Callable[[ApiServer], Any], but that will create a circular dependency
|
||||
def rpc_catch_errors(func: Callable[[Any], Any]):
|
||||
def rpc_catch_errors(func: Callable[..., Any]):
|
||||
|
||||
def func_wrapper(obj, *args, **kwargs):
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user