Skip to content

cayu.workspaces.branch_lifecycle

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.workspaces import SessionWorkspaceBranchStore

Expose a SessionStore through the workspace-owned branch journal seam.

SessionWorkspaceBranchStore.__init__(store: SessionStore) -> None
SessionWorkspaceBranchStore.durability() -> WorkspaceBranchStoreDurability

Return the exact persistence evidence declared by the wrapped store.

async SessionWorkspaceBranchStore.load_workspace_branch_record(session_id: str, storage_key: str) -> dict[str, Any] | None
async SessionWorkspaceBranchStore.publish_workspace_branch_record(session_id: str, storage_key: str, *, record_transform: WorkspaceBranchRecordTransform, expected_run_epoch: int, commit_guard: Callable[[], None] | None=None) -> None

Release source · Runtime guarantees · Capability guides