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. |
||
|---|---|---|
| .. | ||
| base.py | ||
| bundle.py | ||
| endpoint.py | ||
| marketplace.py | ||
| oauth.py | ||
| parameters.py | ||
| plugin.py | ||
| plugin_daemon.py | ||
| request.py | ||