Skip to content
ocx
install

IndexFinding, InfoResult

InfoResultattribute#

Re-exported from ocx_sdk._resultsView source
InfoResult

package description pull, keyed by identifier as given.

The value is None whenever the registry holds no description metadata at all — distinct from a PackageDescription whose every field is None, which is a description the registry holds and has left blank.

IndexFindingclassdataclass#

Re-exported from ocx_sdk._resultsView source
class IndexFinding(tag: str, finding: str, committed: str | None = None, live: str | None = None)

Where the public index disagrees with the registry about an alias.

Internally tagged on finding: stale carries the two digests, and not-committed carries only the tag. Reported for ocx.sh/... packages alone, and never fixed by repair — announcing the tag is what fixes it.

Attributes

NameTypeDescription
tagstrThe rolling tag.
findingstr"stale" or "not-committed", raw str (D8).
committedstr | NoneThe digest the index committed, under stale.
livestr | NoneThe digest the alias points at today, under stale.

committedattributeclass attributeinstance attribute#

committed: str | None = None

findingattributeinstance attribute#

finding: str

liveattributeclass attributeinstance attribute#

live: str | None = None

tagattributeinstance attribute#

tag: str

from_dictmethodclassmethod#

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

Build from one decoded index_findings entry.