ffinfo commented on a change in pull request #4368: AIRFLOW-3561 - improve
queries
URL: https://github.com/apache/incubator-airflow/pull/4368#discussion_r243957948
##########
File path: airflow/models/__init__.py
##########
@@ -4201,6 +4222,8 @@ def sync_to_db(self, owner=None, sync_time=None,
session=None):
orm_dag.owners = owner
orm_dag.is_active = True
orm_dag.last_scheduler_run = sync_time
+ orm_dag.default_view = self._default_view
Review comment:
Good one, added a test
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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