cayu.sessions.SessionOperationPublication
Part of cayu.sessions.base. Read the Python API overview and install the required extra.
from cayu.sessions import SessionOperationPublicationOne atomic checkpoint/event publication plus terminal operation records.
Bases: BaseModel.
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 |
|---|---|---|
checkpoint |
dict[str, Any] |
required |
operation_records |
dict[str, dict[str, Any]] |
Field(default_factory=dict) |
model_completion_stage_release |
ModelCompletionStageRelease | None |
None |
copy_checkpoint (method)
Section titled “copy_checkpoint (method)”SessionOperationPublication.copy_checkpoint(value: dict[str, Any]) -> dict[str, Any]copy_operation_records (method)
Section titled “copy_operation_records (method)”SessionOperationPublication.copy_operation_records(value: dict[str, dict[str, Any]]) -> dict[str, dict[str, Any]]