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:
- task
Union[str,Callable] Either a path to a .fsp or .py file, or a callable Python function.
- inputs
Optional[List[Any]],optional Input arguments for a python function task (default: None).
- label
str,optional Unique identifier for the job (default: ‘’).
- dependencies
Optional[List[str]],optional Labels of jobs that this job depends on (default: None).
- task