uranusjr commented on code in PR #22958:
URL: https://github.com/apache/airflow/pull/22958#discussion_r850135405


##########
airflow/www/views.py:
##########
@@ -2025,6 +2028,14 @@ def clear(self):
         origin = get_safe_url(request.form.get('origin'))
         dag = current_app.dag_bag.get_dag(dag_id)
 
+        map_indexes = request.form.get('map_indexes')

Review Comment:
   There’s `getlist` available for this. To use it we need to format the 
argument list in the front end in a specific way, but that’s better than 
manually parsing the list, I think.
   
   
https://werkzeug.palletsprojects.com/en/2.1.x/datastructures/#werkzeug.datastructures.MultiDict.getlist



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to