You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/08/06 10:36:34 UTC
[airflow] branch main updated: [FIX] update xcom argument for bash operator (#32803)
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 <88...@users.noreply.github.com>
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,
)