Skip to content
ocx
install

Integration

Integrationclassdataclass#

Re-exported from ocx_sdk._resultsView source
class Integration(namespace: str, package: str | None = None, payload: Mapping[str, Any] = _EMPTY)

A tool integration a package declares, with its payload carried untyped.

Attributes

NameTypeDescription
namespacestrThe integration namespace the package declares.
packagestr | NoneThe declaring package, or None when ocx could not attribute the contribution — env.rs:137 skips the key for the same reason PackageBinding.package does (D7).
payloadMapping[str, Any]The interpolated payload, uninterpreted.

namespaceattributeinstance attribute#

namespace: str

packageattributeclass attributeinstance attribute#

package: str | None = None

payloadattributeclass attributeinstance attribute#

payload: Mapping[str, Any] = _EMPTY

refproperty#

ref: PackageRef | None

The declaring package, as a PackageRef, or None when unattributed.

from_dictmethodclassmethod#

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

Build from one decoded integrations entry.