You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/01/04 01:12:59 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #6855: [AIRFLOW-6307] Improve support for a special characters in DAG's name in stats view

mik-laj 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_r363006129
 
 

 ##########
 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:
   PHP uses this syntax, but it's not very popular in the Python world. I will delete it.
   https://stackoverflow.com/a/9547490/1849502

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services