Skip to content
ocx
install

ToolRow

ToolRowclassdataclass#

Re-exported from ocx_sdk._resultsView source
class ToolRow(binding: str, group: str, digest: str, platforms: Mapping[str, str] = _EMPTY)

One tool entry add, lock, update, or remove reports.

All four emit the same bare array — effectively “the lock entries that changed”, not a per-command envelope. remove reports an empty one.

Attributes

NameTypeDescription
bindingstrThe binding name in ocx.toml.
groupstrThe group it belongs to.
digeststrThe digest for the current platform.
platformsMapping[str, str]Every platform’s digest.

bindingattributeinstance attribute#

binding: str

digestattributeinstance attribute#

digest: str

groupattributeinstance attribute#

group: str

platformsattributeclass attributeinstance attribute#

platforms: Mapping[str, str] = _EMPTY

from_dictmethodclassmethod#

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

Build from one decoded array entry.