dify/api/core/workflow/nodes/loop
-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/loop node (#17273) 2025-04-02 13:53:26 +08:00
entities.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
loop_end_node.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00
loop_node.py feat: add property-based access control to GraphRuntimeState 2025-09-04 02:08:58 +08:00
loop_start_node.py feat: queue-based graph engine 2025-08-27 15:33:28 +08:00