You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/15 15:51:38 UTC
[GitHub] [airflow] kaxil commented on a change in pull request #8739: Test that DagFileProcessor can operator against on a Serialized DAG
kaxil commented on a change in pull request #8739:
URL: https://github.com/apache/airflow/pull/8739#discussion_r425893005
##########
File path: airflow/models/dagbag.py
##########
@@ -456,4 +456,5 @@ def sync_to_db(self):
from airflow.models.dag import DAG
from airflow.models.serialized_dag import SerializedDagModel
DAG.bulk_sync_to_db(self.dags.values())
- SerializedDagModel.bulk_sync_to_db(self.dags.values())
+ if self.store_serialized_dags:
+ SerializedDagModel.bulk_sync_to_db(self.dags.values())
Review comment:
Nice
----------------------------------------------------------------
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:
users@infra.apache.org