cayu.snapshots.AgentSnapshotGCReceipt
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotGCReceiptBases: _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 |
|---|---|---|
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) |
validate_digests (method)
Section titled “validate_digests (method)”AgentSnapshotGCReceipt.validate_digests(value: str, info) -> strvalidate_operation_id (method)
Section titled “validate_operation_id (method)”AgentSnapshotGCReceipt.validate_operation_id(value: str, info) -> strvalidate_digest_arrays (method)
Section titled “validate_digest_arrays (method)”AgentSnapshotGCReceipt.validate_digest_arrays(value: object, info) -> tuple[str, ...]validate_receipt (method)
Section titled “validate_receipt (method)”AgentSnapshotGCReceipt.validate_receipt() -> AgentSnapshotGCReceiptidentity_material (method)
Section titled “identity_material (method)”AgentSnapshotGCReceipt.identity_material() -> dict[str, object]