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 17a9473b43 [FIX] update xcom argument for bash operator (#32803)
17a9473b43 is described below
commit 17a9473b43edc6d0a57153cc8816000c1ad75432
Author: mayanktri <[email protected]>
AuthorDate: Sun Aug 6 16:06:26 2023 +0530
[FIX] update xcom argument for bash operator (#32803)
xcom push argument is incorrect in version 2.6.3. xcom_push should be
replaced with do_xcom_push in BashOperator.
---
docs/apache-airflow/core-concepts/dags.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/apache-airflow/core-concepts/dags.rst
b/docs/apache-airflow/core-concepts/dags.rst
index aa95699ab8..33642f6de9 100644
--- a/docs/apache-airflow/core-concepts/dags.rst
+++ b/docs/apache-airflow/core-concepts/dags.rst
@@ -341,7 +341,7 @@ The ``@task.branch`` can also be used with XComs allowing
branching context to d
start_op = BashOperator(
task_id="start_task",
bash_command="echo 5",
- xcom_push=True,
+ do_xcom_push=True,
dag=dag,
)