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

This commit is contained in:
Yongtao Huang 2025-09-12 09:40:41 +08:00 committed by GitHub
parent bdacc4da36
commit 4511f4f537
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 1 deletions

View File

@ -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 = {}