- integrations
- Python
- ocx_sdk
InstalledPackage
InstalledPackageclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass InstalledPackage(identifier: str, path: str | None, metadata: Mapping[str, Any] = _EMPTY)One package package install or package select put in place.
Attributes
| Name | Type | Description |
|---|---|---|
identifier | str | The pinned identifier, <as given>@sha256:.... |
path | str | None | The symlink that now points at it — candidates/<tag> after an
install, current after a select — or None when nothing was
materialized. Always-present-nullable (install.rs:23). |
metadata | Mapping[str, Any] | The package’s metadata.json, carried untyped. |
identifierattributeinstance attribute#
identifier: strmetadataattributeclass attributeinstance attribute#
metadata: Mapping[str, Any] = _EMPTYpathattributeinstance attribute#
path: str | Nonerefproperty#
ref: PackageRefThe pinned identifier, carrying its metadata.
from_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> InstalledPackageBuild from one decoded value of the keyed object.