- integrations
- Python
- ocx_sdk
PushResult
PushResultclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceattestationattributeclass attributeinstance attribute#
attestation: AttestationOutcome | None = Nonecascade_tags_writtenattributeinstance attribute#
cascade_tags_written: tuple[str, ...]identifierattributeinstance attribute#
identifier: strkeep_tags_writtenattributeinstance attribute#
keep_tags_written: tuple[str, ...]layersattributeinstance attribute#
layers: Mapping[str, Any]manifest_digestattributeinstance attribute#
manifest_digest: strplatform_digestsattributeclass attributeinstance attribute#
platform_digests: Mapping[str, str] = _EMPTYsignaturesattributeclass attributeinstance attribute#
signatures: tuple[SignedPlatformReport, ...] = ()statusattributeinstance attribute#
status: strrefproperty#
ref: PackageRefThe pushed package, as a PackageRef.
from_jsonmethodclassmethod#
def from_json(raw: str) -> PushResultParse ocx --format json package push output.
The payload is bare (D11) — the report sits at the JSON root, with
no envelope to unwrap. A push that lands and then fails to sign exits
non-zero carrying this same document, so partial_report(err) feeds
straight back into this parser (D10, C-009).