salvus.flow.executors.task_chain.local_task_chain_runner
The local object that will actually run the task chains on a remote site.
Classes
LocalTaskChainRunner
LocalTaskChainRunnerclass LocalTaskChainRunner(builtins.object):
def __init__(
self,
task_chain_paths: Dict[str, pathlib.Path],
number_of_parallel_workers: int,
environment_variables_per_worker: Optional[List[Dict[str, str]]],
): ...This object will be responsible for running a given list of tasks chains locally.
Parameters
task_chain_pathsDict[str, pathlib.Path] — Mapping of (identifier, task_chain_path) for each task chain to run with this runner.number_of_parallel_workersint — The number of parallel workers.environment_variables_per_workerOptional[List[Dict[str, str]]] — The environment variables per worker.
Methods
run()
run()def run(self) -> None: ...Run each task chain, potentially in parallel.
Returns None