profit.run.runner
Runner & Runner Interface
Module Contents
Classes
Helper class that provides a standard way to create an ABC using |
- class profit.run.runner.Runner(*, interface: profit.run.interface.RunnerInterface = 'memmap', worker: Mapping = 'command', work_dir='.', debug=False, parallel=0, sleep=0.1, logfile='runner.log', logger=None)[source]
Bases:
profit.util.component.Component
Helper class that provides a standard way to create an ABC using inheritance.
- property config
- property input_data
- property output_data
- property flat_output_data
- classmethod from_config(run_config, base_config)[source]
Constructor from run config & base config dict
- abstract spawn(params=None, wait=False)[source]
spawn a single run
- Parameters:
params – a mapping which defines input parameters to be set
wait – whether to wait for the run to complete