dify/api/controllers/console
Harry 80f2c1be67 fix(trigger): enhance error handling and refactor end user creation in trigger workflows
- Improved error handling in `TriggerSubscriptionListApi` to return a 404 response for ValueErrors.
- Refactored end user creation logic in `service_api/wraps.py` to use `get_or_create_end_user` for better clarity and consistency.
- Introduced a new method `create_end_user_batch` for batch creation of end users, optimizing database interactions.
- Updated various trigger-related services to utilize the new end user handling, ensuring proper user context during trigger dispatching.
2025-10-17 21:00:57 +08:00
..
app fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00
auth use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
billing use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
datasets use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
explore fix 27003 (#27005) 2025-10-17 09:10:16 +08:00
tag use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
workspace fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +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 use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
error.py Restructure the File errors in controller (#23801) 2025-08-13 17:06:07 +08:00
extension.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
feature.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
files.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09: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 fix 27003 (#27005) 2025-10-17 09:10:16 +08:00