spawn.tasks¶
Simulation Tasks
-
class
spawn.tasks.SimulationTask(*args, **kwargs)[source]¶ Implementation of
luigi.Task-
property
available_runners¶ Runners available for this task.
Can be overridden by derived tasks
-
complete()[source]¶ Determine if this task is complete
- Returns
Trueif this task is complete; otherwiseFalse- Return type
-
on_failure(exception)[source]¶ Interprets any exceptions raised by the run method.
Attempts to find any logs associated with the runner.
- Returns
A string representation of the error.
- Return type
-
property
run_name_with_path¶ Return the run name of this task
-
property
-
class
spawn.tasks.SpawnTask(*args, **kwargs)[source]¶ Implementation of
luigi.Taskthat defines ID and dependencies parameters-
complete()[source]¶ Determine if this task is complete
- Returns
Trueif this task is complete; otherwiseFalse- Return type
-
property
metadata¶ Metadata for this task
-
-
class
spawn.tasks.TaskListParameter(default=<object object>, is_global=False, significant=True, description=None, config_path=None, positional=True, always_in_help=False, batch_method=None, visibility=<ParameterVisibility.PUBLIC: 0>)[source]¶ Implementation of
luigi.Parameterto allow definitions of multiple tasks as dependencies