dify/api/core/helper
Harry add2ca85f2 refactor(trigger): update plugin and trigger entity structures
- Removed unnecessary newline in `TriggerPluginNode` class for consistency.
- Made `provider` in `TriggerIdentity` optional to enhance flexibility.
- Added `trigger` field to `PluginDeclaration` and updated `PluginCategory` to include `Trigger`, improving the integration of trigger functionalities within the plugin architecture.

These changes streamline the entity definitions and enhance the overall structure of the trigger and plugin components.
2025-09-09 17:16:44 +08:00
..
code_executor feat: integrate flask-orjson for improved JSON serialization performance (#23935) 2025-08-14 19:50:59 +08:00
__init__.py feat: server multi models support (#799) 2023-08-12 00:57:00 +08:00
download.py Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
encrypter.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
marketplace.py refactor: migrate marketplace.py from requests to httpx (#24015) 2025-09-01 14:28:21 +08:00
model_provider_cache.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
moderation.py make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00
module_import_helper.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
position_helper.py chore: docstring not match the function parameter (#17162) 2025-03-31 13:19:15 +08:00
provider_cache.py refactor(trigger): update trigger provider API and clean up unused classes 2025-09-04 17:45:15 +08:00
provider_encryption.py refactor(trigger): update plugin and trigger entity structures 2025-09-09 17:16:44 +08:00
ssrf_proxy.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
tool_parameter_cache.py chore: docstring not match the function parameter (#17162) 2025-03-31 13:19:15 +08:00
trace_id_helper.py refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling (#24284) 2025-08-21 18:18:49 +08:00