sagemaker.core.workflow.step_outputs

sagemaker.core.workflow.step_outputs#

Base class representing step decorator outputs

Functions

get_step(step_output)

Get the step associated with this output.

Classes

StepOutput([step])

Base class representing @step decorator outputs.

class sagemaker.core.workflow.step_outputs.StepOutput(step: Step = None)[source]#

Bases: PipelineVariable

Base class representing @step decorator outputs.

abstract property expr: Dict[str, Any] | List[Dict[str, Any]]#

Get the expression structure for workflow service calls.

sagemaker.core.workflow.step_outputs.get_step(step_output: StepOutput)[source]#

Get the step associated with this output.

Parameters:

step_output – A sagemaker.workflow.steps.StepOutput instance.

Returns:

A sagemaker.workflow.steps.Step instance.