dify/api/core/trigger
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
..
debug fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00
entities refactor(trigger): rename TriggerApiEntity to EventApiEntity and update related references 2025-10-13 21:10:31 +08:00
utils fix(trigger): clean up whitespace in encryption utility and trigger provider service 2025-09-05 15:56:13 +08:00
__init__.py feat(trigger): add trigger provider management and webhook handling functionality 2025-09-03 14:53:26 +08:00
errors.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
provider.py fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00
trigger_manager.py fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00