dify/api/core/workflow/entities
-LAN- b4ef1de30f
feat(graph_engine): add ready_queue state persistence to GraphRuntimeState
- Add ReadyQueueState TypedDict for type-safe queue serialization
- Add ready_queue attribute to GraphRuntimeState for initializing with pre-existing queue state
- Update GraphEngine to load ready_queue from GraphRuntimeState on initialization
- Implement proper type hints using ReadyQueueState for better type safety
- Add comprehensive tests for ready_queue loading functionality

The ready_queue is read-only after initialization and allows resuming workflow
execution with a pre-populated queue of nodes ready to execute.
2025-09-15 03:05:10 +08:00
..
__init__.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
agent.py fix: type errors 2025-09-10 21:48:05 +08:00
graph_init_params.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
graph_runtime_state.py feat(graph_engine): add ready_queue state persistence to GraphRuntimeState 2025-09-15 03:05:10 +08:00
run_condition.py fix: type errors 2025-09-10 21:48:05 +08:00
variable_pool.py Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine 2025-09-06 16:05:13 +08:00
workflow_execution.py fix: type errors 2025-09-10 21:48:05 +08:00
workflow_node_execution.py fix: type errors 2025-09-10 21:48:05 +08:00