potiuk commented on issue #11280:
URL: https://github.com/apache/airflow/issues/11280#issuecomment-703759481


   I think it we already do similar thing elsewhere in Airflow - we are 
replacing . with __dot__ I believe. It is in "views.py" - and it is mostly to 
prevent some subdag matching. I do not know BigQuery part well enough , but 
something like that might be a good idea:
   
   ```
           resp = {
               r.dag_id.replace('.', '__dot__'): {
                   'dag_id': r.dag_id,
                   'last_run': r.last_run.isoformat(),
               } for r in query
           }
           return wwwutils.json_response(resp)
   
   ```
   
   It's really typical "escaping" thing :).
   


----------------------------------------------------------------
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]


Reply via email to