diff --git a/executorlib/base/executor.py b/executorlib/base/executor.py index fc5aa99d..74831dcf 100644 --- a/executorlib/base/executor.py +++ b/executorlib/base/executor.py @@ -63,12 +63,12 @@ def future_queue(self) -> Optional[queue.Queue]: """ return self._future_queue - def submit( + def submit( # type: ignore self, fn: Callable, *args, resource_dict: Optional[dict] = None, - **kwargs, # type: ignore + **kwargs, ) -> Future: """ Submits a callable to be executed with the given arguments. diff --git a/executorlib/interactive/shared.py b/executorlib/interactive/shared.py index af1f675c..4ddf1b9c 100644 --- a/executorlib/interactive/shared.py +++ b/executorlib/interactive/shared.py @@ -23,9 +23,9 @@ class ExecutorBroker(ExecutorBase): - def submit( + def submit( # type: ignore self, fn: Callable, *args, resource_dict: Optional[dict] = None, **kwargs - ) -> Future: # type: ignore + ) -> Future: """ Submits a callable to be executed with the given arguments.