Skip to content
YosoiDocs

StepOutcome

yosoi.browser.StepOutcome

class StepOutcome(ImmutableModel):

Retain one executed step with failure and cancellation facts.

Attributes: index: Step position within its Flow. flow_path: Nested Flow path locating the step in the invocation. receipt: Operation receipt, including unknown outcomes when applicable. failure: Optional rejected, execution, or unknown-outcome classification. cancellation: Optional step, invocation, or Session cancellation scope. cancelled_flow: Optional Flow path affected by cancellation.

Source: python/yosoi/browser.py:1205

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

index: U64
flow_path: tuple[U64, ...] = ()
receipt: OperationReceipt
failure: Literal['rejected', 'execution', 'unknown_outcome'] | None = None
cancellation: Literal['step', 'invocation', 'session'] | None = None
cancelled_flow: tuple[U64, ...] | None = None