malthe commented on PR #23592:
URL: https://github.com/apache/airflow/pull/23592#issuecomment-1121493040

   @kaxil I understand the use-case – what I am somewhat hesitant to vote for 
is the conflation of the two orthogonal concerns which are both suggested for 
`with` here:
   
   1. As a scope for tasks created which automatically get the `dag` parameter 
set;
   2. As a mechanism to automatically register a DAG with the loading mechanism.
   
   I think you could argue then that _any_ DAG instance created during the 
loading of a module should be automatically registered – after all, why would a 
user create a DAG instance only to throw it away?


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