Skip to content

cayu.sessions.checkpoints

Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.

from cayu.sessions import CHECKPOINT_SCHEMA_VERSION_KEY
CHECKPOINT_SCHEMA_VERSION_KEY = 'checkpoint_schema_version'

Release source · Runtime guarantees · Capability guides

from cayu.sessions import CheckpointCompatibilityError

A root checkpoint cannot be interpreted safely by this runtime.

Bases: RuntimeError.

CheckpointCompatibilityError.__init__(*, reason: str, session_id: str, observed_version: int | None, supported_min_version: int=MIN_SUPPORTED_CHECKPOINT_SCHEMA_VERSION, supported_max_version: int=CURRENT_CHECKPOINT_SCHEMA_VERSION) -> None
CheckpointCompatibilityError.safe_evidence() -> dict[str, Any]

Return bounded, content-free evidence for events and operator surfaces.

Release source · Runtime guarantees · Capability guides

from cayu.sessions import CURRENT_CHECKPOINT_SCHEMA_VERSION
CURRENT_CHECKPOINT_SCHEMA_VERSION = 10

Release source · Runtime guarantees · Capability guides

from cayu.sessions import MIN_SUPPORTED_CHECKPOINT_SCHEMA_VERSION
MIN_SUPPORTED_CHECKPOINT_SCHEMA_VERSION = 1

Release source · Runtime guarantees · Capability guides