Fix type erorr in callable

This commit is contained in:
Matthias 2020-08-04 16:01:41 +02:00
parent 4b0164770c
commit b954af33cf
1 changed files with 1 additions and 1 deletions

View File

@ -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):