- integrations
- Python
- ocx_sdk
RemovalResult
RemovalResultclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass RemovalResult(package: str, status: str, path: str | None)One row of package uninstall or package deselect.
Both commands return a bare array rather than a keyed object — the only two package-tier mutators that do.
Attributes
| Name | Type | Description |
|---|---|---|
package | str | The identifier as given. |
status | str | What happened, e.g. "removed". |
path | str | None | The symlink that went away, or None when there was none —
always-present-nullable (removed.rs:40), which every
status: "absent" row answers with. |
packageattributeinstance attribute#
package: strpathattributeinstance attribute#
path: str | Nonestatusattributeinstance attribute#
status: strrefproperty#
ref: PackageRefThe removed package, as a PackageRef.
from_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> RemovalResultBuild from one decoded array entry.