mirror of https://github.com/langgenius/dify.git
- 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. |
||
|---|---|---|
| .. | ||
| event_bus.py | ||
| event_selectors.py | ||
| events.py | ||