Skip to content
ocx
install

PushResult

PushResultclassdataclass#

Re-exported from ocx_sdk._resultsView source

attestationattributeclass attributeinstance attribute#

attestation: AttestationOutcome | None = None

cascade_tags_writtenattributeinstance attribute#

cascade_tags_written: tuple[str, ...]

identifierattributeinstance attribute#

identifier: str

keep_tags_writtenattributeinstance attribute#

keep_tags_written: tuple[str, ...]

layersattributeinstance attribute#

layers: Mapping[str, Any]

manifest_digestattributeinstance attribute#

manifest_digest: str

platform_digestsattributeclass attributeinstance attribute#

platform_digests: Mapping[str, str] = _EMPTY

signaturesattributeclass attributeinstance attribute#

signatures: tuple[SignedPlatformReport, ...] = ()

statusattributeinstance attribute#

status: str

refproperty#

ref: PackageRef

The pushed package, as a PackageRef.

from_jsonmethodclassmethod#

def from_json(raw: str) -> PushResult

Parse 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).