Skip to content
ocx
install

RepairOutcome

RepairOutcomeclassdataclass#

Re-exported from ocx_sdk._resultsView source
class RepairOutcome(tag: str, outcome: str, detail: Mapping[str, Any])

What cascade repair did to one rolling tag.

The wire nests a WriteOutcome object under outcome, internally tagged on its own outcome key: written (with digest, verified, and dropped when child digests were pruned), refused (an unrepairable finding’s tag/reason/digest), raced (expected, live) or failed (message). First-cut depth: the discriminator is typed and the variant’s fields ride along untyped.

Attributes

NameTypeDescription
tagstrThe rolling tag.
outcomestr"written", "refused", "raced" or "failed", raw str (D8).
detailMapping[str, Any]The whole WriteOutcome object, outcome key included.

detailattributeinstance attribute#

detail: Mapping[str, Any]

outcomeattributeinstance attribute#

outcome: str

tagattributeinstance attribute#

tag: str

from_dictmethodclassmethod#

def from_dict(data: Mapping[str, Any]) -> RepairOutcome

Build from one decoded outcomes entry.