mirror of https://github.com/langgenius/dify.git
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. |
||
|---|---|---|
| .. | ||
| __base | ||
| builtin_tool | ||
| custom_tool | ||
| entities | ||
| mcp_tool | ||
| plugin_tool | ||
| utils | ||
| workflow_as_tool | ||
| __init__.py | ||
| errors.py | ||
| signature.py | ||
| tool_engine.py | ||
| tool_file_manager.py | ||
| tool_label_manager.py | ||
| tool_manager.py | ||