cayu.snapshots.AgentSnapshotReleaseReceipt
Part of cayu.snapshots.base. Read the Python API overview and install the required extra.
from cayu.snapshots import AgentSnapshotReleaseReceiptBases: _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 |
|---|---|---|
record_type |
Literal['cayu.agent-snapshot-release-receipt'] |
'cayu.agent-snapshot-release-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) |
validate_digests (method)
Section titled “validate_digests (method)”AgentSnapshotReleaseReceipt.validate_digests(value: str, info) -> strvalidate_text (method)
Section titled “validate_text (method)”AgentSnapshotReleaseReceipt.validate_text(value: str, info) -> strvalidate_receipt (method)
Section titled “validate_receipt (method)”AgentSnapshotReleaseReceipt.validate_receipt() -> AgentSnapshotReleaseReceiptidentity_material (method)
Section titled “identity_material (method)”AgentSnapshotReleaseReceipt.identity_material() -> dict[str, object]from_request (method)
Section titled “from_request (method)”AgentSnapshotReleaseReceipt.from_request(request: AgentSnapshotReleaseRequest) -> AgentSnapshotReleaseReceipt