Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Resolve Python Logger library warnings (#19791)

Emmanuel Ferdman582b72116017
diff --git a/api/services/dataset_service.py b/api/services/dataset_service.py
index 1b19f1fb725..bac1bf389f1 100644
--- a/api/services/dataset_service.py
+++ b/api/services/dataset_service.py
@@ -992,7 +992,7 @@ class DocumentService:
created_by=account.id,
)
else:
- logging.warn(
+ logging.warning(
f"Invalid process rule mode: {process_rule.mode}, can not find dataset process rule"
)
return