-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multi_exec_subproc_sync and doc new executors
- Loading branch information
Showing
8 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
"""Sequential executor for multi executor | ||
.. autoclass:: ExecutorSeqForMulti | ||
:members: | ||
:private-members: | ||
""" | ||
|
||
from fluidimage.executors.exec_async_seq_for_multi import ExecutorAsyncSeqForMulti | ||
from fluidimage.executors.exec_sequential import ExecutorSequential | ||
|
||
|
||
class ExecutorSeqForMulti(ExecutorSequential, ExecutorAsyncSeqForMulti): | ||
"""Sequential executor modified for multi executors""" | ||
|
||
|
||
Executor = ExecutorSeqForMulti |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"""Multi executor based on subprocesses using exec_seq_for_multi | ||
.. autoclass:: MultiExecutorSubprocSync | ||
:members: | ||
:private-members: | ||
""" | ||
|
||
from fluidimage.executors.multi_exec_subproc import MultiExecutorSubproc | ||
|
||
|
||
class MultiExecutorSubprocSync(MultiExecutorSubproc): | ||
executor_for_multi = "exec_seq_for_multi" | ||
|
||
|
||
Executor = MultiExecutorSubprocSync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters