Remove redundant parse_args call in WorkflowByIdApi.patch (#25498)
This commit is contained in:
parent
bdacc4da36
commit
4511f4f537
2 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue