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.

Remove redundant parse_args call in WorkflowByIdApi.patch (#25498)

Yongtao Huang4511f4f53741
diff --git a/api/controllers/console/app/workflow.py b/api/controllers/console/app/workflow.py
index 6061dd8ad80..0967d09e9c3 100644
--- a/api/controllers/console/app/workflow.py
+++ b/api/controllers/console/app/workflow.py
@@ -715,7 +715,6 @@ class WorkflowByIdApi(Resource):
raise ValueError("Marked name cannot exceed 20 characters")
if args.marked_comment and len(args.marked_comment) > 100:
raise ValueError("Marked comment cannot exceed 100 characters")
- args = parser.parse_args()
# Prepare update data
update_data = {}
diff --git a/api/services/plugin/github_service.py b/api/services/plugin/github_service.py
deleted file mode 100644
index e69de29bb2d..00000000000