feluelle commented on code in PR #23592:
URL: https://github.com/apache/airflow/pull/23592#discussion_r935505540
##########
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:
If this is only applicable to context manager calls I think this is not the
correct place to pass it or? Wouldn't it make more sense to define this on
config level for all DAGs using context manager i.e. in the config?
--
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]