Skip to content
ocx
install

EnvReport (1 of 2)

EnvReportclassdataclass#

Re-exported from ocx_sdk._resultsView source
class EnvReport(entries: tuple[EnvEntry, ...] = (), binaries: tuple[PackageBinding, ...] = (), entrypoints: tuple[PackageBinding, ...] = (), integrations: tuple[Integration, ...] = (), advisories: tuple[Advisory, ...] = (), _base: Mapping[str, str] = _EMPTY)

ocx env and ocx package env — the same five-array envelope, both tiers.

Iterating the report iterates entries: composing an environment is what it is for, and the other four arrays are description.

Attributes

NameTypeDescription
entriestuple[EnvEntry, ...]The [env] contributions, in declaration order.
binariestuple[PackageBinding, ...]Executables the packages put on PATH. Pre-1.0, may break.
entrypointstuple[PackageBinding, ...]Named entrypoints the packages declare. Pre-1.0, may break.
integrationstuple[Integration, ...]Tool integrations, payloads untyped. Pre-1.0, may break.
advisoriestuple[Advisory, ...]Warnings about the composition. Pre-1.0, may break.

The four non-entry arrays carry ocx’s package which-style caveat: they are not on ocx’s durable-anchor list, so their shape may change in a minor release. entries is the part the SDK depends on.

advisoriesattributeclass attributeinstance attribute#

advisories: tuple[Advisory, ...] = ()

binariesattributeclass attributeinstance attribute#

binaries: tuple[PackageBinding, ...] = ()

entriesattributeclass attributeinstance attribute#

entries: tuple[EnvEntry, ...] = ()

entrypointsattributeclass attributeinstance attribute#

entrypoints: tuple[PackageBinding, ...] = ()

integrationsattributeclass attributeinstance attribute#

integrations: tuple[Integration, ...] = ()