dify/api/services/workflow
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
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
entities.py fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00
queue_dispatcher.py fix: limits 2025-09-09 23:32:51 +08:00
rate_limiter.py fix can't subtract offset-naive and offset-aware datetimes 2025-09-28 09:10:21 +08:00
workflow_converter.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00