OperationReceipt
yosoi.browser.OperationReceipt
class OperationReceipt(ImmutableModel):
Retain observed, rejected, or unknown facts about an operation.
Unknown does not imply that a dispatched operation had no effect. Inspect operation- specific evidence before claiming business success.
Attributes: browser: Native-engine provenance retained even without after-state evidence. id: Operation receipt identity. kind: Operation kind; Until results carry a validated report. status: Whether the operation was observed, rejected, or left unknown. result: Operation-specific result payload, or None. observation: Optional browser evidence attached to the operation. error: Optional retained error detail.
Source: python/yosoi/browser.py:948
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”id: StrictStr
browser: BrowserExecutionIdentity | None = Field(default=None, exclude_if=lambda value: value is None)
kind: StrictStr
status: OperationStatus
result: Any | None = None
observation: Observation | None = None
error: StrictStr | None = None
Methods
Section titled “Methods”until_report
Section titled “until_report”def until_report(self) -> UntilReport | None:
Parse this Until receipt’s immutable result, if it is an Until step.