cayu.snapshots.AgentSnapshotGCPlan
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotGCPlanBases: _SnapshotModel.
Fields and attributes
Section titled “Fields and attributes”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) |
validate_plan_id (method)
Section titled “validate_plan_id (method)”AgentSnapshotGCPlan.validate_plan_id(value: str, info) -> strvalidate_operation_id (method)
Section titled “validate_operation_id (method)”AgentSnapshotGCPlan.validate_operation_id(value: str, info) -> strvalidate_authorized_candidates_input (method)
Section titled “validate_authorized_candidates_input (method)”AgentSnapshotGCPlan.validate_authorized_candidates_input(value: object) -> objectvalidate_digest_arrays (method)
Section titled “validate_digest_arrays (method)”AgentSnapshotGCPlan.validate_digest_arrays(value: object, info) -> tuple[str, ...]validate_plan (method)
Section titled “validate_plan (method)”AgentSnapshotGCPlan.validate_plan() -> AgentSnapshotGCPlanidentity_material (method)
Section titled “identity_material (method)”AgentSnapshotGCPlan.identity_material() -> dict[str, object]