dify/api/core/app
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_config fix enum and type (#26756) 2025-10-11 17:46:44 +08:00
apps Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-16 18:30:33 +08:00
entities fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00
features chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
task_pipeline delete unnecessary db merge (#26588) 2025-10-06 20:24:24 +08:00
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00