poppy.core.task.Task(instance_name=None)[source]¶Bases: poppy.core.task.base_task.BaseTask
as_task(run_func=None, *, plugin_name=None, name=None)[source]¶Use the decorated function as a task
| Parameters: |
|
|---|---|
| Returns: | a task class that run the decorated function |
inputs¶Generate a subset of the pipeline targets containing only the task inputs
| Returns: | the input targets |
|---|
instantiate_target(target_list, target_definition)[source]¶Instantiate a new target using the given definition and store the target id in a list
| Parameters: |
|
|---|---|
| Returns: |
legacy_as_task(run_func=None, *, plugin_name=None, name=None, legacy=True)[source]¶Method used to ensure backward compatibility with the previous decorator API
| Parameters: |
|
|---|---|
| Returns: | a task class that run the decorated function |
outputs¶Generate a subset of the pipeline targets containing only the task outputs
| Returns: | the output targets |
|---|