add_job#

LocalRunner.add_job(task: str | Callable, inputs: List[Any] | None = None, label: str = '', dependencies: List[str] | None = None) None#

Add a job to the runner.

Parameters:
taskUnion[str, Callable]

Either a path to a .fsp or .py file, or a callable Python function.

inputsOptional[List[Any]], optional

Input arguments for a python function task (default: None).

labelstr, optional

Unique identifier for the job (default: ‘’).

dependenciesOptional[List[str]], optional

Labels of jobs that this job depends on (default: None).