RunOutput
Use a run's output for app parameters.
This enables the declaration of an app parameter dependency on the output of a run, given by a specific run name, or a task name and version. If task_auto_version == 'latest', the latest version of the task will be used. If task_auto_version == 'current', the version will be derived from the callee app or task context. To get the latest task run for ephemeral task runs, set task_version and task_auto_version should both be set to None (which is the default).
Attributes
| Attribute | Type | Description |
|---|---|---|
| run_name | `str | None` = None |
| task_name | `str | None` = None |
| task_version | `str | None` = None |
| task_auto_version | `AutoVersioning | None` = None |
| getter | tuple[typing.Any, ...] = (0,) | A tuple of keys or indices used to extract a specific part of the run's output. |
Methods
materialize()
@classmethod
def materialize() - > ParameterTypes
Materializes the output of a run based on whether a run name or task name was provided during initialization. This method serves as a dispatcher to the appropriate materialization logic.
Returns
| Type | Description |
|---|---|
ParameterTypes | The materialized output of the run, which can be of various parameter types. |