mirror of https://github.com/langgenius/dify.git
- Introduced a model validator in TriggerSubscriptionUpdateRequest to enforce that at least one of the fields (name, credentials, parameters, properties) must be provided. - Refactored the TriggerSubscriptionUpdateApi to use the validated request object and simplified the logic for updating subscriptions based on the credential type. - Updated the credential type check in TriggerProviderService to use a set for better performance and clarity. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| account.py | ||
| agent_providers.py | ||
| endpoint.py | ||
| error.py | ||
| load_balancing_config.py | ||
| members.py | ||
| model_providers.py | ||
| models.py | ||
| plugin.py | ||
| tool_providers.py | ||
| trigger_providers.py | ||
| workspace.py | ||