Skip to main content

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

AttributeTypeDescription
run_name`strNone` = None
task_name`strNone` = None
task_version`strNone` = None
task_auto_version`AutoVersioningNone` = None
gettertuple[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

TypeDescription
ParameterTypesThe materialized output of the run, which can be of various parameter types.