- integrations
- Python
- ocx_sdk
StatusReport
StatusReportclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass StatusReport(project: str, lock: LockStatus = LockStatus(), groups: Mapping[str, GroupStatus] = _EMPTY, package_settings: Mapping[str, Mapping[str, Any]] = _EMPTY)ocx status — the project’s declaration, lock, and groups.
Exits 0 even when the lock is broken, so this struct is where a caller
learns something is wrong (lock.current, lock.error).
Attributes
| Name | Type | Description |
|---|---|---|
project | str | Path to the ocx.toml the report describes. |
lock | LockStatus | Lock file state. |
groups | Mapping[str, GroupStatus] | Group name to its contents. |
package_settings | Mapping[str, Mapping[str, Any]] | Per-package settings, carried through untyped — they are ocx’s configuration surface, not the SDK’s. |
groupsattributeclass attributeinstance attribute#
groups: Mapping[str, GroupStatus] = _EMPTYlockattributeclass attributeinstance attribute#
lock: LockStatus = field(default_factory=LockStatus)package_settingsattributeclass attributeinstance attribute#
package_settings: Mapping[str, Mapping[str, Any]] = _EMPTYprojectattributeinstance attribute#
project: strfrom_jsonmethodclassmethod#
def from_json(raw: str) -> StatusReportParse ocx --format json status output.