mirror of https://github.com/langgenius/dify.git
- 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. |
||
|---|---|---|
| .. | ||
| debug | ||
| entities | ||
| utils | ||
| __init__.py | ||
| errors.py | ||
| provider.py | ||
| trigger_manager.py | ||