dify/api/core/workflow/entities
-LAN- fe3f03e50a
feat: add property-based access control to GraphRuntimeState
- Replace direct field access with private attributes and property decorators
- Implement deep copy protection for mutable objects (dict, LLMUsage)
- Add helper methods: set_output(), get_output(), update_outputs()
- Add increment_node_run_steps() and add_tokens() convenience methods
- Update loop_node and event_handlers to use new accessor methods
- Add comprehensive unit tests for immutability and validation
- Ensure backward compatibility with existing property access patterns
2025-09-04 02:08:58 +08:00
..
__init__.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
agent.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
graph_init_params.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
graph_runtime_state.py feat: add property-based access control to GraphRuntimeState 2025-09-04 02:08:58 +08:00
run_condition.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
variable_pool.py refactor: simplify variable pool key structure and improve type safety (#23732) 2025-08-11 18:10:04 +08:00
workflow_execution.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
workflow_node_execution.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00