dify/api/services/trigger
Harry a33d04d1ac refactor(trigger): unify debug event handling and improve polling mechanism
- Introduced a base class for debug events to streamline event handling.
- Refactored `TriggerDebugService` to support multiple event types through a generic dispatch/poll interface.
- Updated webhook and plugin trigger debug services to utilize the new event structure.
- Enhanced the dispatch logic in `dispatch_triggered_workflows_async` to accommodate the new event model.
2025-10-08 17:31:16 +08:00
..
schedule_service.py move schedule service to trigger sub dir 2025-10-02 00:24:32 +08:00
trigger_debug_service.py refactor(trigger): unify debug event handling and improve polling mechanism 2025-10-08 17:31:16 +08:00
trigger_provider_service.py refactor(api): refactor all 2025-09-25 18:22:30 +08:00
trigger_service.py move trigger_service to trigger sub dir 2025-10-02 00:29:53 +08:00
trigger_subscription_builder_service.py refactor(api): update subscription handling in trigger provider 2025-09-29 18:28:10 +08:00
webhook_service.py refactor(trigger): unify debug event handling and improve polling mechanism 2025-10-08 17:31:16 +08:00
workflow_plugin_trigger_service.py move workflow_plugin_trigger_service to trigger sub dir 2025-10-02 00:31:33 +08:00