You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ra...@apache.org on 2026/03/25 11:47:50 UTC
(airflow) 09/46: update Dag Runs document under Core Concept to make it consistent with BashOperator document (#64129)
This is an automated email from the ASF dual-hosted git repository.
rahulvats pushed a commit to branch py-client-sync
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit c6d593f7a944fdbb7f9348459752ecc7cb0c6982
Author: Kevin Yang <85...@users.noreply.github.com>
AuthorDate: Tue Mar 24 01:56:14 2026 -0400
update Dag Runs document under Core Concept to make it consistent with BashOperator document (#64129)
---
airflow-core/docs/core-concepts/dag-run.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/airflow-core/docs/core-concepts/dag-run.rst b/airflow-core/docs/core-concepts/dag-run.rst
index e1e54d8aa7b..a1b398666ee 100644
--- a/airflow-core/docs/core-concepts/dag-run.rst
+++ b/airflow-core/docs/core-concepts/dag-run.rst
@@ -271,7 +271,8 @@ Example of a parameterized Dag:
parameterized_task = BashOperator(
task_id="parameterized_task",
- bash_command="echo value: {{ dag_run.conf['conf1'] }}",
+ bash_command="echo \"here is the message: '$message'\"",
+ env={"message": '{{ dag_run.conf["message"] if dag_run else "" }}'},
dag=dag,
)