StepInput object provides powerful methods to access any previous step’s output by name or retrieve all accumulated content.
Example
step_input.get_step_content("step_name")- Get content from specific step by namestep_input.get_all_previous_content()- Get all previous step content combinedstep_input.workflow_message- Access the original workflow input messagestep_input.previous_step_content- Get content from immediate previous step
In case of
Parallel step, when you do step_input.get_step_content("parallel_step_name"), it will return a dict with each key as individual_step_name for all the outputs from the steps defined in parallel.
Example:parallel_step_output will be a dict with each key as individual_step_name for all the outputs from the steps defined in parallel.