diff --git a/pympipool/shell/executor.py b/pympipool/shell/executor.py index 5b72d1ed..d9eda6fa 100644 --- a/pympipool/shell/executor.py +++ b/pympipool/shell/executor.py @@ -41,6 +41,7 @@ class SubprocessSingleExecutor(ExecutorBase): """ The pympipool.shell.SubprocessSingleExecutor is the internal worker for the pympipool.shell.SubprocessExecutor. """ + def __init__(self): super().__init__() self._process = RaisingThread( @@ -77,6 +78,7 @@ class SubprocessExecutor(ExecutorBase): (False, "test", True) """ + def __init__( self, max_workers=1, diff --git a/pympipool/shell/interactive.py b/pympipool/shell/interactive.py index f990c8e3..b155577b 100644 --- a/pympipool/shell/interactive.py +++ b/pympipool/shell/interactive.py @@ -104,6 +104,7 @@ class ShellExecutor(ExecutorBase): >>> print(future_pattern.done(), future_pattern.result(), future_pattern.done()) (False, "0\n1\n2\n3\ndone\n", True) """ + def __init__(self, *args, **kwargs): super().__init__() self._process = RaisingThread(