Skip to content
ocx
install

SlotRow

SlotRowclassdataclass#

Re-exported from ocx_sdk._resultsView source
class SlotRow(tag: str, platform: Mapping[str, Any], status: str, observed: str | None, expected: str | None, source: str | None, observed_source: str | None)

One (rolling tag, platform) slot cascade check examined.

Attributes

NameTypeDescription
tagstrThe rolling tag — latest, 3, 3.28, or a variant name.
platformMapping[str, Any]The OCI platform object of the slot, carried untyped: the published schema types it as true (anything), and no dispatch here needs its fields.
statusstrok, missing, stale, orphan or duplicate — the finding, as raw str (D8). Anything but ok is what makes check exit 65.
observedstr | NoneThe digest the alias carries for this platform, if any.
expectedstr | NoneThe digest the fold expects, if any.
sourcestr | NoneThe version the expectation was folded from, e.g. "1.0.1", or None. Published as PackageVersion (a string) since 0.6.2; 0.6.1’s schema named an integer Version here, a generator artifact the wire never bore out (ocx-sh/ocx#460).
observed_sourcestr | NoneThe version the observed digest belongs to, or None when the alias points at content no observed leaf carries.

expectedattributeinstance attribute#

expected: str | None

observedattributeinstance attribute#

observed: str | None

observed_sourceattributeinstance attribute#

observed_source: str | None

platformattributeinstance attribute#

platform: Mapping[str, Any]

sourceattributeinstance attribute#

source: str | None

statusattributeinstance attribute#

status: str

tagattributeinstance attribute#

tag: str

from_dictmethodclassmethod#

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

Build from one decoded rows entry.