tasks.ref(...)
Function used to retrieve the output of other tasks.
tasks.ref(
task_name: str, local: bool = False
)
Parameters
task: str
: the name of the task whose output you'd like to retrieve. This name should be in the form<module_name>
, or<module_name>.<task_name>
, where<task_name>
is the name of the Prism task class / function.local: bool
: whethertask
lives in the same module. The default isFalse
.
Examples:
Non-local tasks:
Local tasks: