diff --git a/webviz_config/deprecation_decorators.py b/webviz_config/deprecation_decorators.py index e7d313b0..620c5447 100644 --- a/webviz_config/deprecation_decorators.py +++ b/webviz_config/deprecation_decorators.py @@ -26,7 +26,7 @@ def wrapper( def deprecated_plugin_arguments( - check: Union[Dict[str, str], Callable[[], Optional[Tuple[str, str]]]] + check: Union[Dict[str, str], Callable[..., Optional[Tuple[str, str]]]] ) -> Callable: def decorator(original_init_method: Callable) -> Callable: original_method_args = inspect.getfullargspec(original_init_method).args