-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
83 lines (75 loc) · 1.48 KB
/
__init__.py
File metadata and controls
83 lines (75 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
"""
Notebook-BCC: Python Workflow System
Complete Python implementation of the Easy-notebook-advance frontend Workflow system.
This package provides:
- State machine-driven workflow execution
- Variable and TODO list management
- Notebook cell management and rendering
- Code execution with context tracking
- Command-line interface
"""
__version__ = '1.0.0'
__author__ = 'Hu Silan'
from core import (
WorkflowStateMachine,
WorkflowContext,
WorkflowState,
WorkflowEvent,
WORKFLOW_STATES,
EVENTS,
)
from stores import (
AIPlanningContextStore,
PipelineStore,
ScriptStore,
NotebookStore,
)
from models import (
WorkflowTemplate,
WorkflowStage,
WorkflowStep,
ScriptAction,
ActionMetadata,
ExecutionStep,
Cell,
CellType,
)
from executors import (
CodeExecutor,
ActionExecutor,
)
from notebook import (
NotebookManager,
MarkdownRenderer,
CellRenderer,
)
__all__ = [
# Core
'WorkflowStateMachine',
'WorkflowContext',
'WorkflowState',
'WorkflowEvent',
'WORKFLOW_STATES',
'EVENTS',
# Stores
'AIPlanningContextStore',
'PipelineStore',
'ScriptStore',
'NotebookStore',
# Models
'WorkflowTemplate',
'WorkflowStage',
'WorkflowStep',
'ScriptAction',
'ActionMetadata',
'ExecutionStep',
'Cell',
'CellType',
# Executors
'CodeExecutor',
'ActionExecutor',
# Notebook
'NotebookManager',
'MarkdownRenderer',
'CellRenderer',
]