Skip to content
ocx
install

RemovalResult

RemovalResultclassdataclass#

Re-exported from ocx_sdk._resultsView source
class 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

NameTypeDescription
packagestrThe identifier as given.
statusstrWhat happened, e.g. "removed".
pathstr | NoneThe 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: str

pathattributeinstance attribute#

path: str | None

statusattributeinstance attribute#

status: str

refproperty#

ref: PackageRef

The removed package, as a PackageRef.

from_dictmethodclassmethod#

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

Build from one decoded array entry.