Coverage for agentos/workflows/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.14.3, created at 2026-07-08 20:40 +0800

1"""AgentOS Workflow Engine — v1.2.7. 

2 

3- WorkflowEngine: DAG 工作流编排,步骤依赖、重试、超时。 

4- WorkflowTemplate: 预置模板(链式/并行/扇出/汇聚等)。 

5""" 

6 

7from agentos.workflows.engine import ( 

8 Workflow, 

9 WorkflowEngine, 

10 WorkflowType, 

11) 

12from agentos.workflows.engine import ( 

13 WorkflowStep as EngineWorkflowStep, 

14) 

15from agentos.workflows.templates import ( 

16 RetryPolicy, 

17 StepType, 

18 WorkflowTemplate, 

19) 

20from agentos.workflows.templates import ( 

21 WorkflowStep as TemplateWorkflowStep, 

22) 

23 

24__all__ = [ 

25 "WorkflowType", 

26 "EngineWorkflowStep", 

27 "Workflow", 

28 "WorkflowEngine", 

29 "StepType", 

30 "RetryPolicy", 

31 "TemplateWorkflowStep", 

32 "WorkflowTemplate", 

33]