- integrations
- Python
- ocx_sdk
CapabilityCheck
CapabilityCheckclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass CapabilityCheck(name: str, status: str, detail: str | None)One forge capability announce/claim probed before writing.
Attributes
| Name | Type | Description |
|---|---|---|
name | str | The capability — git-version, push-access, job-token-push
or job-token-allowlist — carried as raw str (D8). |
status | str | What the probe found: ok, skipped for a check the
transport made inapplicable, or a failure status. Raw str. |
detail | str | None | What the probe saw, when it recorded anything. Always on the
wire, null when empty. |
detailattributeinstance attribute#
detail: str | Nonenameattributeinstance attribute#
name: strstatusattributeinstance attribute#
status: strfrom_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> CapabilityCheckBuild from one decoded capability_checks entry.