Skip to content
ocx
install

CapabilityCheck

CapabilityCheckclassdataclass#

Re-exported from ocx_sdk._resultsView source
class CapabilityCheck(name: str, status: str, detail: str | None)

One forge capability announce/claim probed before writing.

Attributes

NameTypeDescription
namestrThe capability — git-version, push-access, job-token-push or job-token-allowlist — carried as raw str (D8).
statusstrWhat the probe found: ok, skipped for a check the transport made inapplicable, or a failure status. Raw str.
detailstr | NoneWhat the probe saw, when it recorded anything. Always on the wire, null when empty.

detailattributeinstance attribute#

detail: str | None

nameattributeinstance attribute#

name: str

statusattributeinstance attribute#

status: str

from_dictmethodclassmethod#

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

Build from one decoded capability_checks entry.