dify/api/core
Harry 9b5e5f0f50 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
..
agent feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
app feat(trigger): system variables for trigger nodes 2025-10-29 18:10:38 +08:00
base feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
callback_handler feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
datasource Chore: remove unused class-level variables in DatasourceManager (#27011) 2025-10-17 09:07:28 +08:00
entities Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-29 15:16:28 +08:00
errors chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
extension change all to httpx (#26119) 2025-10-10 23:41:16 +08:00
external_data_tool chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
file feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
helper Merge branch 'main' into feat/trigger 2025-10-21 14:36:07 +08:00
llm_generator Ensure suggested questions parser returns typed sequence (#27104) 2025-10-20 13:01:09 +08:00
mcp fix: set conditional capabilities upon MCP client session initialization (#26234) 2025-10-29 15:11:45 +08:00
memory refactor:Decouple Domain Models from Direct Database Access (#27316) 2025-10-28 09:59:30 +08:00
model_runtime fix RetrievalMethod StrEnum (#26768) 2025-10-13 10:29:37 +08:00
moderation use model_validate (#26182) 2025-10-10 17:30:13 +09:00
ops refactor:Decouple Domain Models from Direct Database Access (#27316) 2025-10-28 09:59:30 +08:00
plugin fix(plugin): update trigger field type to allow None and add field validator for parameters in EventEntity 2025-10-27 12:02:22 +08:00
prompt feat(graph_engine): Support pausing workflow graph executions (#26585) 2025-10-19 21:33:41 +08:00
rag improve opensearch index deletion #27231 (#27336) 2025-10-26 23:57:21 +08:00
repositories rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
schemas Fix: replace stdout prints with debug logging (#25931) 2025-09-18 21:03:20 +08:00
tools refactor(api): replace dict type hints with Mapping for improved type safety 2025-10-29 18:10:38 +08:00
trigger refactor(trigger): streamline workflow argument handling in DraftWorkflowTriggerNodeApi 2025-10-29 01:04:37 +08:00
variables rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
workflow feat(trigger): system variables for trigger nodes 2025-10-29 18:10:38 +08:00
__init__.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00
hosting_configuration.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
indexing_runner.py fix: document word_count appear negative (#27313) 2025-10-23 12:32:34 +08:00
model_manager.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
provider_manager.py fix enum and type (#26756) 2025-10-11 17:46:44 +08:00