dify/api/controllers/trigger
Harry 06c91fbcbd refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management
- Updated `DraftWorkflowTriggerNodeApi` to utilize the new `TriggerDebugEvent` and `TriggerDebugEventPoller` for improved event polling.
- Removed deprecated `poll_debug_event` methods from `TriggerService`, `ScheduleService`, and `WebhookService`, consolidating functionality into the new event structure.
- Enhanced error handling in `invoke_trigger_event` to utilize `TriggerPluginInvokeError` for better clarity on invocation issues.
- Updated frontend API routes to reflect changes in trigger event handling, ensuring consistency across the application.
2025-10-15 14:41:53 +08:00
..
__init__.py refactor(api): fix pyright check 2025-09-25 18:32:22 +08:00
trigger.py move trigger_service to trigger sub dir 2025-10-02 00:29:53 +08:00
webhook.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00