Skip to content

TestStateConfiguration

Source code in docs_src/capo_sfn/types/test_state_configuration.py
class TestStateConfiguration(TypedDict, closed=True):
    retrier_retry_count: NotRequired[
        "capo_sfn.types.retrier_retry_count.RetrierRetryCount"
    ]
    """<p>The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.</p>"""
    error_caused_by_state: NotRequired[
        "capo_sfn.types.test_state_state_name.TestStateStateName"
    ]
    """<p>The name of the state from which an error originates when an error is mocked for a Map or Parallel state.</p>"""
    map_iteration_failure_count: NotRequired[
        "capo_sfn.types.map_iteration_failure_count.MapIterationFailureCount"
    ]
    """<p>The number of Map state iterations that failed during the Map state invocation.</p>"""
    map_item_reader_data: NotRequired["capo_sfn.types.sensitive_data.SensitiveData"]
    """<p>The data read by ItemReader in Distributed Map states as found in its original source.</p>"""

error_caused_by_state instance-attribute

error_caused_by_state: NotRequired[TestStateStateName]

The name of the state from which an error originates when an error is mocked for a Map or Parallel state.

map_item_reader_data instance-attribute

map_item_reader_data: NotRequired[SensitiveData]

The data read by ItemReader in Distributed Map states as found in its original source.

map_iteration_failure_count instance-attribute

map_iteration_failure_count: NotRequired[MapIterationFailureCount]

The number of Map state iterations that failed during the Map state invocation.

retrier_retry_count instance-attribute

retrier_retry_count: NotRequired[RetrierRetryCount]

The number of retry attempts that have occurred for the state's Retry that applies to the mocked error.