Skip to content

cayu.snapshots.AgentSnapshotGCPlan

Part of cayu.snapshots.base. Read the Python API overview and install the required extra.

from cayu.snapshots import AgentSnapshotGCPlan

Bases: _SnapshotModel.

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
plan_id StrictStr required
operation_id StrictStr Field(max_length=256)
authorized_candidates tuple[AgentSnapshotAccess, ...] required
collectable_roots tuple[StrictStr, ...] required
blocked_roots tuple[StrictStr, ...] required
node_digests_to_delete tuple[StrictStr, ...] required
retained_shared_node_digests tuple[StrictStr, ...] required
bytes_to_delete StrictInt Field(ge=0)
AgentSnapshotGCPlan.validate_plan_id(value: str, info) -> str
AgentSnapshotGCPlan.validate_operation_id(value: str, info) -> str

validate_authorized_candidates_input (method)

Section titled “validate_authorized_candidates_input (method)”
AgentSnapshotGCPlan.validate_authorized_candidates_input(value: object) -> object
AgentSnapshotGCPlan.validate_digest_arrays(value: object, info) -> tuple[str, ...]
AgentSnapshotGCPlan.validate_plan() -> AgentSnapshotGCPlan
AgentSnapshotGCPlan.identity_material() -> dict[str, object]

Release source · Runtime guarantees · Capability guides