Skip to content
ocx
install

GroupStatus

GroupStatusclassdataclass#

Re-exported from ocx_sdk._resultsView source
class GroupStatus(tools: Mapping[str, ToolBinding] = _EMPTY, env: Mapping[str, Mapping[str, Any]] = _EMPTY)

One group of ocx status.

Attributes

NameTypeDescription
toolsMapping[str, ToolBinding]Binding name to its binding state.
envMapping[str, Mapping[str, Any]]The group’s [env] table, keyed by variable name, carried through untyped. It is keyed here ({KEY: {type, value}}) rather than the array form ocx env emits, and no probe has yet seen it populated — so it stays a pass-through instead of a struct built on an unobserved shape.

envattributeclass attributeinstance attribute#

env: Mapping[str, Mapping[str, Any]] = _EMPTY

toolsattributeclass attributeinstance attribute#

tools: Mapping[str, ToolBinding] = _EMPTY

from_dictmethodclassmethod#

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

Build from one decoded entry of the groups object.