- integrations
- Python
- ocx_sdk
CleanEntry
CleanEntryclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass CleanEntry(kind: str, dry_run: bool, path: str, held_by: tuple[str, ...])One thing ocx clean removed, or would remove.
Attributes
| Name | Type | Description |
|---|---|---|
kind | str | "object" for a store object, "temp" for a temp directory,
or "consent" for a state/projects/<key>/ directory whose
consent stamp was swept — the entry that revokes a project’s
shell activation, which is why a preview names it. Raw str (D8). |
dry_run | bool | Whether this was a preview. |
path | str | What was (or would be) removed. |
held_by | tuple[str, ...] | Project ocx.lock paths holding the entry; empty when no
registered project protects it, or under --force. |
dry_runattributeinstance attribute#
dry_run: boolheld_byattributeinstance attribute#
held_by: tuple[str, ...]kindattributeinstance attribute#
kind: strpathattributeinstance attribute#
path: strfrom_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> CleanEntryBuild from one decoded array entry.