dify/api/core/helper
Harry 896f3252b8 refactor(api): refactor all
- Replaced direct imports of `TriggerProviderID` and `ToolProviderID` from `core.plugin.entities.plugin` with imports from `models.provider_ids` for better organization.
- Refactored workflow node classes to inherit from a unified `Node` class, improving consistency and maintainability.
- Removed unused code and comments to clean up the implementation, particularly in the `workflow_trigger.py` and `builtin_tools_manage_service.py` files.

These changes enhance the clarity and structure of the codebase, facilitating easier future modifications.
2025-09-25 18:22:30 +08:00
..
code_executor improve: pooling httpx clients for requests to code sandbox and ssrf (#26052) 2025-09-24 22:14:50 +08:00
__init__.py feat: server multi models support (#799) 2023-08-12 00:57:00 +08:00
credential_utils.py Feat/credential policy (#25151) 2025-09-08 23:45:05 -07:00
download.py Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
encrypter.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
http_client_pooling.py improve: pooling httpx clients for requests to code sandbox and ssrf (#26052) 2025-09-24 22:14:50 +08:00
marketplace.py perf: provide X-Dify-Version for marketplace api access (#26210) 2025-09-25 15:33:27 +08:00
model_provider_cache.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +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 chore: apply ty checks on api code with script and ci action (#24653) 2025-09-02 16:05:13 +08:00
name_generator.py refactor(api): refactor all 2025-09-25 18:22:30 +08:00
position_helper.py feat(stress-test): add comprehensive stress testing suite using Locust (#25617) 2025-09-12 22:25:05 +08:00
provider_cache.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
provider_encryption.py refactor(trigger): update plugin and trigger entity structures 2025-09-09 17:16:44 +08:00
ssrf_proxy.py improve: pooling httpx clients for requests to code sandbox and ssrf (#26052) 2025-09-24 22:14:50 +08:00
tool_parameter_cache.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
trace_id_helper.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00