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 2021/12/17 14:19:13 UTC

[GitHub] [airflow] bbovenzi commented on a change in pull request #20378: Reduce deprecation warnings from www

bbovenzi commented on a change in pull request #20378:
URL: https://github.com/apache/airflow/pull/20378#discussion_r771428955



##########
File path: airflow/www/templates/airflow/dag.html
##########
@@ -36,7 +36,7 @@
   <meta name="extra_links_url" content="{{ url_for('Airflow.extra_links') }}">
   <meta name="paused_url" content="{{ url_for('Airflow.paused') }}">
   <meta name="tree_data" content="{{ url_for('Airflow.tree_data') }}">
-  <meta name="is_paused" content="{{ dag.is_paused }}">
+  <meta name="is_paused" content="{{ dag.get_is_paused() }}">

Review comment:
       I believe there are a few more places in `/www` that we use `is_paused`




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org