Skip to content

cayu.snapshots.AgentSnapshotMaterializationRequest

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

from cayu.snapshots import AgentSnapshotMaterializationRequest

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
access AgentSnapshotAccess required
candidate_id StrictStr Field(max_length=256)
trial_id StrictStr Field(max_length=256)
state_mode AgentSnapshotTrialStateMode required
state_partition_fingerprint StrictStr | None Field(default=None, exclude_if=lambda value: value is None)

validate_state_partition_fingerprint (method)

Section titled “validate_state_partition_fingerprint (method)”
AgentSnapshotMaterializationRequest.validate_state_partition_fingerprint(value: str | None, info) -> str | None
AgentSnapshotMaterializationRequest.validate_identity(value: str, info) -> str
AgentSnapshotMaterializationRequest.snapshot_fingerprint() -> str
AgentSnapshotMaterializationRequest.derive_state_scope_id(*, snapshot_fingerprint: str, candidate_id: str, trial_id: str, state_mode: AgentSnapshotTrialStateMode, state_partition_fingerprint: str | None=None) -> str
AgentSnapshotMaterializationRequest.state_scope_id() -> str

Release source · Runtime guarantees · Capability guides