Skip to content

cayu.snapshots.AgentSnapshotGCReceipt

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

from cayu.snapshots import AgentSnapshotGCReceipt

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
receipt_id StrictStr required
plan_id StrictStr required
operation_id StrictStr Field(max_length=256)
deleted_roots tuple[StrictStr, ...] required
deleted_node_digests tuple[StrictStr, ...] required
deleted_bytes StrictInt Field(ge=0)
AgentSnapshotGCReceipt.validate_digests(value: str, info) -> str
AgentSnapshotGCReceipt.validate_operation_id(value: str, info) -> str
AgentSnapshotGCReceipt.validate_digest_arrays(value: object, info) -> tuple[str, ...]
AgentSnapshotGCReceipt.validate_receipt() -> AgentSnapshotGCReceipt
AgentSnapshotGCReceipt.identity_material() -> dict[str, object]

Release source · Runtime guarantees · Capability guides