ashb commented on a change in pull request #7477: [AIRFLOW-6857][depends on
AIRFLOW-6856] Bulk sync DAGs
URL: https://github.com/apache/airflow/pull/7477#discussion_r382486821
##########
File path: tests/models/test_dag.py
##########
@@ -739,13 +739,13 @@ def test_sync_to_db(self, mock_now):
)
with dag:
DummyOperator(task_id='task', owner='owner1')
+ subdag = DAG('dag.subtask', start_date=DEFAULT_DATE, )
+ subdag.parent_dag = dag
+ subdag.is_subdag = True
Review comment:
Is this change needed? Doesn't the SubDagOperator set these automatically?
If not it should -- I don't think users should have to set these properties to
get "working" subdags.
----------------------------------------------------------------
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]
With regards,
Apache Git Services