IKholopov commented on pull request #20730:
URL: https://github.com/apache/airflow/pull/20730#issuecomment-1027333474
Fixed static checks (sorry, forgot about them:) and addressed @ryanahamilton
comment.
@eladkal DAG's `default_view` property used to dynamically construct URL in
one of two ways:
a) `{{ url_for('Airflow.' + dag.default_view, dag_id=...)}}` - will direct
to new views right away (except for `tree`, in this case it will redirect to
`grid`).
b) `{{ url_for('Airflow.' + dag.default_view)}}` - changed to `{{
url_for('Airflow.legacy_' + dag.default_view)}}`, will turn into a link
redirecting to new versions of views.
This configuration is one of the next places in the code to cleanup and
migrate to new naming (grid). We will have to keep backwards compatibility for
`tree` though.
--
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]