Skip to content

cayu.sessions.SessionOperationPublication

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

from cayu.sessions import SessionOperationPublication

One atomic checkpoint/event publication plus terminal operation records.

Bases: BaseModel.

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
checkpoint dict[str, Any] required
operation_records dict[str, dict[str, Any]] Field(default_factory=dict)
model_completion_stage_release ModelCompletionStageRelease | None None
SessionOperationPublication.copy_checkpoint(value: dict[str, Any]) -> dict[str, Any]
SessionOperationPublication.copy_operation_records(value: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]]

Release source · Runtime guarantees · Capability guides