ffinfo commented on a change in pull request #4368: [AIRFLOW-3561] Improve
queries
URL: https://github.com/apache/incubator-airflow/pull/4368#discussion_r243977665
##########
File path: airflow/models/__init__.py
##########
@@ -3249,6 +3259,17 @@ def __exit__(self, _type, _value, _tb):
# /Context Manager ----------------------------------------------
+ @property
+ def default_view(self):
Review comment:
@Fokko: Can't use just `default_view` because in DagModel this can be None
and get_default_view has a fall back to the config when not set.
----------------------------------------------------------------
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