potiuk commented on a change in pull request #6855: [AIRFLOW-6307] Improve 
support for a special characters in DAG's name in stats view
URL: https://github.com/apache/airflow/pull/6855#discussion_r361294268
 
 

 ##########
 File path: airflow/www/views.py
 ##########
 @@ -307,7 +307,7 @@ def dag_stats(self, session=None):
 
         # Filter by get parameters
         selected_dag_ids = {
-            unquote(dag_id) for dag_id in request.args.get('dag_ids', 
'').split(',') if dag_id
+            unquote(dag_id) for dag_id in request.args.getlist('dag_ids[]') if 
dag_id
 
 Review comment:
   +1 -> [] is just a strange convention and not a widely used one. I tried to 
find anyone using it and could not find it..

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to