Skip to content
ocx
install

AboutInfo (1 of 2)

AboutInfoclassdataclass#

Re-exported from ocx_sdk._resultsView source
class AboutInfo(version: str, registry: str, home: str, shell: str | None, platforms: tuple[str, ...] = (), libc: tuple[str, ...] = (), channel: str | None = None, commit: Mapping[str, Any] = _EMPTY, build: Mapping[str, Any] = _EMPTY, ci: Mapping[str, Any] = _EMPTY)

ocx about — the binary plus the host it is running on.

channel appears only when it was baked into the build. shell is always on the wire and may be null (about.rs:30) — ocx detected no shell — so it is the only one of the four leading fields that can be None.

buildattributeclass attributeinstance attribute#

build: Mapping[str, Any] = _EMPTY

channelattributeclass attributeinstance attribute#

channel: str | None = None

ciattributeclass attributeinstance attribute#

ci: Mapping[str, Any] = _EMPTY

commitattributeclass attributeinstance attribute#

commit: Mapping[str, Any] = _EMPTY

homeattributeinstance attribute#

home: str

libcattributeclass attributeinstance attribute#

libc: tuple[str, ...] = ()

platformsattributeclass attributeinstance attribute#

platforms: tuple[str, ...] = ()

registryattributeinstance attribute#

registry: str

shellattributeinstance attribute#

shell: str | None

versionattributeinstance attribute#

version: str