44 lines
919 B
Python
44 lines
919 B
Python
"""
|
|
Detection pipeline graph.
|
|
|
|
detect/graph/
|
|
nodes.py — node functions (one per stage)
|
|
events.py — graph_update SSE emission
|
|
runner.py — pipeline execution (LangGraph wrapper, checkpoint, cancel, pause)
|
|
"""
|
|
|
|
from .nodes import NODES, NODE_FUNCTIONS
|
|
from .runner import (
|
|
PipelineCancelled,
|
|
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",
|
|
"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",
|
|
]
|