This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new af4f825962c update Dag Runs document under Core Concept to make it
consistent with BashOperator document (#64129)
af4f825962c is described below
commit af4f825962c06208fb31b16065ffc63f6d6b002f
Author: Kevin Yang <[email protected]>
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,
)