This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new ca42a6191dc [v3-1-test] update Dag Runs document under Core Concept to
make it consistent with BashOperator document (#64129) (#64140)
ca42a6191dc is described below
commit ca42a6191dc469aff6beffd87321ed5af61aec11
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Mar 24 06:58:38 2026 +0100
[v3-1-test] update Dag Runs document under Core Concept to make it
consistent with BashOperator document (#64129) (#64140)
(cherry picked from commit af4f825962c06208fb31b16065ffc63f6d6b002f)
Co-authored-by: Kevin Yang <[email protected]>
---
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,
)