mirror of
https://github.com/langgenius/dify.git
synced 2026-08-28 20:03:22 +08:00
Remove redundant parse_args call in WorkflowByIdApi.patch (#25498)
This commit is contained in:
parent
bdacc4da36
commit
4511f4f537
@ -715,7 +715,6 @@ class WorkflowByIdApi(Resource):
|
|||||||
raise ValueError("Marked name cannot exceed 20 characters")
|
raise ValueError("Marked name cannot exceed 20 characters")
|
||||||
if args.marked_comment and len(args.marked_comment) > 100:
|
if args.marked_comment and len(args.marked_comment) > 100:
|
||||||
raise ValueError("Marked comment cannot exceed 100 characters")
|
raise ValueError("Marked comment cannot exceed 100 characters")
|
||||||
args = parser.parse_args()
|
|
||||||
|
|
||||||
# Prepare update data
|
# Prepare update data
|
||||||
update_data = {}
|
update_data = {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user