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/09/11 18:08:26 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #18166: Add note about params on trigger DAG page

kaxil commented on a change in pull request #18166:
URL: https://github.com/apache/airflow/pull/18166#discussion_r706642661



##########
File path: airflow/www/templates/airflow/trigger.html
##########
@@ -47,6 +47,9 @@ <h2>Trigger DAG: {{ dag_id }}</h2>
     </div>
     <p>
       To access configuration in your DAG use <code>{{ '{{ dag_run.conf }}' }}</code>.
+      {% if is_dag_run_conf_overrides_params %}
+        Alternatively, you can use <code>{{ '{{ params }}' }}</code> as well to access these.

Review comment:
       ```suggestion
           <code>[core] dag_run_conf_overrides_params</code> is set to `True` so passing any configuration here will override task params which can be accessed via <code>{{ '{{ params }}' }}</code>.
   ```




-- 
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