Skip to content

IterationContext

Source code in docs_src/capo_sagemaker/types/iteration_context.py
class IterationContext(TypedDict, closed=True):
    parent_step_name: NotRequired["capo_sagemaker.types.string256.String256"]
    """<p>The name of the ForEach step that generated this iteration.</p>"""
    index: NotRequired["capo_sagemaker.types.integer.Integer"]
    """<p>The index of the iteration within the ForEach step.</p>"""
    item: NotRequired["capo_sagemaker.types.string12800.String12800"]
    """<p>The input item that is being processed in this iteration.</p>"""

index instance-attribute

index: NotRequired[Integer]

The index of the iteration within the ForEach step.

item instance-attribute

item: NotRequired[String12800]

The input item that is being processed in this iteration.

parent_step_name instance-attribute

parent_step_name: NotRequired[String256]

The name of the ForEach step that generated this iteration.