phase 4
This commit is contained in:
45
core/detect/graph/__init__.py
Normal file
45
core/detect/graph/__init__.py
Normal file
@@ -0,0 +1,45 @@
|
||||
"""
|
||||
Detection pipeline graph.
|
||||
|
||||
detect/graph/
|
||||
nodes.py — node functions (one per stage)
|
||||
events.py — graph_update SSE emission
|
||||
runner.py — PipelineRunner (config-driven, checkpoint, cancel, pause)
|
||||
"""
|
||||
|
||||
from .nodes import NODES, NODE_FUNCTIONS
|
||||
from .runner import (
|
||||
PipelineCancelled,
|
||||
PipelineRunner,
|
||||
build_graph,
|
||||
clear_cancel_check,
|
||||
clear_pause,
|
||||
get_pipeline,
|
||||
init_pause,
|
||||
is_paused,
|
||||
pause_pipeline,
|
||||
resume_pipeline,
|
||||
set_cancel_check,
|
||||
set_pause_after_stage,
|
||||
step_pipeline,
|
||||
)
|
||||
from .events import _node_states
|
||||
|
||||
__all__ = [
|
||||
"NODES",
|
||||
"NODE_FUNCTIONS",
|
||||
"PipelineCancelled",
|
||||
"PipelineRunner",
|
||||
"build_graph",
|
||||
"get_pipeline",
|
||||
"set_cancel_check",
|
||||
"clear_cancel_check",
|
||||
"init_pause",
|
||||
"clear_pause",
|
||||
"pause_pipeline",
|
||||
"resume_pipeline",
|
||||
"step_pipeline",
|
||||
"set_pause_after_stage",
|
||||
"is_paused",
|
||||
"_node_states",
|
||||
]
|
||||
Reference in New Issue
Block a user