Skip to content

cayu.snapshots.AgentSnapshotPutReceipt

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

from cayu.snapshots import AgentSnapshotPutReceipt

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
record_type Literal['cayu.agent-snapshot-put-receipt'] 'cayu.agent-snapshot-put-receipt'
schema_version Literal[1] 1
receipt_id StrictStr required
snapshot AgentSnapshotRef required
binding_id StrictStr required
node_digests tuple[StrictStr, ...] required
AgentSnapshotPutReceipt.validate_digests(value: str, info) -> str
AgentSnapshotPutReceipt.validate_node_digests_input(value: object) -> object
AgentSnapshotPutReceipt.validate_receipt() -> AgentSnapshotPutReceipt
AgentSnapshotPutReceipt.identity_material() -> dict[str, object]
AgentSnapshotPutReceipt.create(*, snapshot: AgentSnapshotRef, binding_id: str, node_digests: Iterable[str]) -> AgentSnapshotPutReceipt

Release source · Runtime guarantees · Capability guides