- integrations
- Python
- ocx_sdk
InspectReport
InspectReportclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass InspectReport(packages: tuple[InspectedPackage, ...] = (), env: tuple[EnvEntry, ...] = (), platform: str | None = None)ocx inspect and ocx package inspect — the same envelope, both tiers.
Attributes
| Name | Type | Description |
|---|---|---|
packages | tuple[InspectedPackage, ...] | One row per requested package or declared binding. |
env | tuple[EnvEntry, ...] | The [env] entries those packages contribute, in order.
Duplicates are allowed and meaningful — the merge folds them. |
platform | str | None | The platform resolution ran against, under --resolve. |
envattributeclass attributeinstance attribute#
env: tuple[EnvEntry, ...] = ()packagesattributeclass attributeinstance attribute#
packages: tuple[InspectedPackage, ...] = ()platformattributeclass attributeinstance attribute#
platform: str | None = Nonefrom_jsonmethodclassmethod#
def from_json(raw: str) -> InspectReportParse ocx --format json inspect (or package inspect) output.