dify/api/controllers/console
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
..
app refactor(trigger): Enhance error handling and parameter resolution in trigger workflows 2025-10-15 17:05:51 +08:00
auth Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
billing refactor: use libs.login current_user in console controllers (#26745) 2025-10-13 10:33:33 +08:00
datasets Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
explore Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
tag refactor: use libs.login current_user in console controllers (#26745) 2025-10-13 10:33:33 +08:00
workspace refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
__init__.py fix trigger related api 404 2025-10-06 14:36:07 +08:00
admin.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
apikey.py Remove unused after_request hooks from console API keys (#26896) 2025-10-15 00:43:11 +08:00
error.py Restructure the File errors in controller (#23801) 2025-08-13 17:06:07 +08:00
extension.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
feature.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
files.py fix: files/support-type JSON serialization error (#26842) 2025-10-14 09:20:19 +08:00
init_validate.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
ping.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
remote_files.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
setup.py refactor: Migrate part of the console basic API module to Flask-RESTX (#24732) 2025-09-10 12:15:47 +08:00
spec.py refactor(router): apply ns.route style (#26339) 2025-09-28 13:37:06 +08:00
version.py more httpx (#25651) 2025-09-22 23:07:09 +08:00
wraps.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00