eladkal commented on issue #16432:
URL: https://github.com/apache/airflow/issues/16432#issuecomment-860642353


   I assume you mean something like:
   `with models.DAG(    dag_id="A",  ...,    tags=[('critical', RED)) as dag:`
   
   I don't think this can be a solution as in you might also have:
   
   `with models.DAG(    dag_id="B",  ...,   tags=[('critical', BLUE)) as dag:`
   
   The author of B doesn't necessarily knows that A already use the tag.
   
   I think that in order to implement this feature the tags will have to be an 
object maintained as Airflow resource (like pools) and then DAGs can use a 
pre-defined tag but as mentioned I don't think this is a small feature.
   
   lets see what other think.
   In any case for the moment this is a theoretical discussion - this issue 
will get more attention (in terms of proposal review) if someone will be 
willing to implement 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:
us...@infra.apache.org


Reply via email to