- integrations
- Python
- ocx_sdk
DryRunEntry
DryRunEntryclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass 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
| Name | Type | Description |
|---|---|---|
package | str | The pinned identifier the row is about. |
status | str | "cached" or "would-fetch", carried as a raw str (D8). |
path | str | None | Where 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: strpathattributeinstance attribute#
path: str | Nonestatusattributeinstance attribute#
status: strrefproperty#
ref: PackageRefThe previewed package, as a PackageRef.
from_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> DryRunEntryBuild from one decoded array entry.