Skip to content

cayu.snapshots.AgentSnapshotPinReceipt

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

from cayu.snapshots import AgentSnapshotPinReceipt

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-pin-receipt'] 'cayu.agent-snapshot-pin-receipt'
schema_version Literal[1] 1
receipt_id StrictStr required
operation_id StrictStr Field(max_length=256)
pin_id StrictStr required
snapshot AgentSnapshotRef required
binding_id StrictStr required
owner StrictStr Field(max_length=256)
reason StrictStr Field(max_length=256)
retention_class AgentSnapshotRetentionClass required
AgentSnapshotPinReceipt.validate_digests(value: str, info) -> str
AgentSnapshotPinReceipt.validate_text(value: str, info) -> str
AgentSnapshotPinReceipt.validate_receipt() -> AgentSnapshotPinReceipt
AgentSnapshotPinReceipt.identity_material() -> dict[str, object]
AgentSnapshotPinReceipt.from_request(request: AgentSnapshotPinRequest) -> AgentSnapshotPinReceipt

Release source · Runtime guarantees · Capability guides