Skip to content
ocx
install

DryRunEntry

DryRunEntryclassdataclass#

Re-exported from ocx_sdk._resultsView source
class DryRunEntry(package: str, status: str, path: str | None)

One row of pull(dry_run=True) — what a real pull would do to a package.

pull_dry_run.rs:76 serializes the preview as a bare root array, so there is no envelope object and no wrapper struct here: the rows are the document (D11).

Attributes

NameTypeDescription
packagestrThe pinned identifier the row is about.
statusstr"cached" or "would-fetch", carried as a raw str (D8).
pathstr | NoneWhere the package already sits, or None when nothing is cached — always-present-nullable (D7), and null on exactly the would-fetch rows this preview exists to surface.

packageattributeinstance attribute#

package: str

pathattributeinstance attribute#

path: str | None

statusattributeinstance attribute#

status: str

refproperty#

ref: PackageRef

The previewed package, as a PackageRef.

from_dictmethodclassmethod#

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

Build from one decoded array entry.