- integrations
- Python
- ocx_sdk
Integration
Integrationclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass Integration(namespace: str, package: str | None = None, payload: Mapping[str, Any] = _EMPTY)A tool integration a package declares, with its payload carried untyped.
Attributes
| Name | Type | Description |
|---|---|---|
namespace | str | The integration namespace the package declares. |
package | str | None | The 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). |
payload | Mapping[str, Any] | The interpolated payload, uninterpreted. |
namespaceattributeinstance attribute#
namespace: strpackageattributeclass attributeinstance attribute#
package: str | None = Nonepayloadattributeclass attributeinstance attribute#
payload: Mapping[str, Any] = _EMPTYrefproperty#
ref: PackageRef | NoneThe declaring package, as a PackageRef, or None when unattributed.
from_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> IntegrationBuild from one decoded integrations entry.