dify/api/core/trigger
Harry ad2b910d73 refactor(trigger): Enhance error handling and parameter resolution in trigger workflows
- Improved error handling in `DraftWorkflowTriggerRunApi`, `DraftWorkflowTriggerNodeApi`, and `DraftWorkflowTriggerRunAllApi` to raise exceptions directly, providing clearer error messages.
- Introduced `get_event_parameters` method in `PluginTriggerProviderController` to retrieve event parameters for triggers.
- Updated `PluginTriggerNodeData` to include a new method for resolving parameters based on event schemas, ensuring better validation and handling of trigger inputs.
- Refactored `TriggerService` to utilize the new parameter resolution method, enhancing the clarity and reliability of trigger invocations.
2025-10-15 17:05:51 +08:00
..
debug refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
entities refactor(trigger): rename TriggerApiEntity to EventApiEntity and update related references 2025-10-13 21:10:31 +08:00
utils fix(trigger): clean up whitespace in encryption utility and trigger provider service 2025-09-05 15:56:13 +08:00
__init__.py feat(trigger): add trigger provider management and webhook handling functionality 2025-09-03 14:53:26 +08:00
errors.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
provider.py refactor(trigger): Enhance error handling and parameter resolution in trigger workflows 2025-10-15 17:05:51 +08:00
trigger_manager.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00