potiuk commented on code in PR #23592:
URL: https://github.com/apache/airflow/pull/23592#discussion_r937851593
##########
airflow/models/dag.py:
##########
@@ -312,6 +316,7 @@ class DAG(LoggingMixin):
``Environment`` is used to render templates as string values.
:param tags: List of tags to help filtering DAGs in the UI.
:param schedule_on: List of upstream datasets if for use in triggering DAG
runs.
+ :param auto_register: Automatically register this DAG when it is used in a
``with`` block
Review Comment:
Yeah. I like it the way it is now. with X.with_something() does not look
good, and the current way is more explicit.
--
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]