Coverage for src / lexigram / contracts / workflow / __init__.py: 100%
6 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-08-19 05:41 +0800
« prev ^ index » next coverage.py v7.13.5, created at 2026-08-19 05:41 +0800
1"""Workflow contracts — pipeline, bulk, and saga orchestration protocols."""
3from __future__ import annotations
5from lexigram.contracts.workflow.content_checkpoint import (
6 ContentCheckpointEntry,
7 ContentCheckpointKey,
8 ContentCheckpointStoreProtocol,
9)
10from lexigram.contracts.workflow.errors import SagaVersionMismatchError
11from lexigram.contracts.workflow.protocols import (
12 ApprovalProtocol,
13 BulkProcessorProtocol,
14 ExecutionProtocol,
15 PipelineContextProtocol,
16 PipelineProtocol,
17 PipelineStepProtocol,
18 SagaManagerProtocol,
19 SagaProtocol,
20 SagaState,
21 SagaStoreProtocol,
22 StateMachineProtocol,
23 StatePersistenceProtocol,
24 StateTransitionRecord,
25 WorkflowGraphProtocol,
26 WorkflowNodeProtocol,
27)
28from lexigram.contracts.workflow.steps import SagaStep, SagaStepError
30__all__ = [
31 "ApprovalProtocol",
32 "BulkProcessorProtocol",
33 "ContentCheckpointEntry",
34 "ContentCheckpointKey",
35 "ContentCheckpointStoreProtocol",
36 "ExecutionProtocol",
37 "PipelineContextProtocol",
38 "PipelineProtocol",
39 "PipelineStepProtocol",
40 "SagaManagerProtocol",
41 "SagaProtocol",
42 "SagaState",
43 "SagaStep",
44 "SagaStepError",
45 "SagaStoreProtocol",
46 "SagaVersionMismatchError",
47 "StateMachineProtocol",
48 "StatePersistenceProtocol",
49 "StateTransitionRecord",
50 "WorkflowGraphProtocol",
51 "WorkflowNodeProtocol",
52]