- integrations
- Python
- ocx_sdk
RepairOutcome
RepairOutcomeclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass 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
| Name | Type | Description |
|---|---|---|
tag | str | The rolling tag. |
outcome | str | "written", "refused", "raced" or "failed", raw
str (D8). |
detail | Mapping[str, Any] | The whole WriteOutcome object, outcome key included. |
detailattributeinstance attribute#
detail: Mapping[str, Any]outcomeattributeinstance attribute#
outcome: strtagattributeinstance attribute#
tag: strfrom_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> RepairOutcomeBuild from one decoded outcomes entry.