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.
SessionWorkspaceBranchStore
Section titled “SessionWorkspaceBranchStore”from cayu.workspaces import SessionWorkspaceBranchStoreExpose a SessionStore through the workspace-owned branch journal seam.
init (method)
Section titled “init (method)”SessionWorkspaceBranchStore.__init__(store: SessionStore) -> Nonedurability (property)
Section titled “durability (property)”SessionWorkspaceBranchStore.durability() -> WorkspaceBranchStoreDurabilityReturn the exact persistence evidence declared by the wrapped store.
load_workspace_branch_record (method)
Section titled “load_workspace_branch_record (method)”async SessionWorkspaceBranchStore.load_workspace_branch_record(session_id: str, storage_key: str) -> dict[str, Any] | Nonepublish_workspace_branch_record (method)
Section titled “publish_workspace_branch_record (method)”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