dify/api/services/tools
Harry 9b5e5f0f50
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
refactor(api): replace dict type hints with Mapping for improved type safety
Updated type hints in several services to use Mapping instead of dict for better compatibility with various dictionary-like objects. Adjusted credential handling to ensure consistent encryption and decryption processes across ToolManager, DatasourceProviderService, ApiToolManageService, BuiltinToolManageService, and MCPToolManageService. This change enhances code clarity and adheres to strong typing practices.
2025-10-29 18:10:38 +08:00
..
api_tools_manage_service.py refactor(api): replace dict type hints with Mapping for improved type safety 2025-10-29 18:10:38 +08:00
builtin_tools_manage_service.py refactor(api): replace dict type hints with Mapping for improved type safety 2025-10-29 18:10:38 +08:00
mcp_tools_manage_service.py refactor(api): replace dict type hints with Mapping for improved type safety 2025-10-29 18:10:38 +08:00
tool_labels_service.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
tools_manage_service.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
tools_transform_service.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-29 15:16:28 +08:00
workflow_tools_manage_service.py Fix: release WorkflowTool database sessions promptly (#26893) 2025-10-21 15:17:17 +08:00