This is an automated email from the ASF dual-hosted git repository.

eladkal 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 05b7a625ae Remove `xcom_push` flag from `BashOperator` (#24824)
05b7a625ae is described below

commit 05b7a625aec759ccdc4276c11ec0b827aebdb013
Author: eladkal <[email protected]>
AuthorDate: Mon Jul 4 14:33:07 2022 +0300

    Remove `xcom_push` flag from `BashOperator` (#24824)
---
 airflow/operators/bash.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/airflow/operators/bash.py b/airflow/operators/bash.py
index a4fac2b7f7..b470f4d85f 100644
--- a/airflow/operators/bash.py
+++ b/airflow/operators/bash.py
@@ -148,8 +148,6 @@ class BashOperator(BaseOperator):
         self.skip_exit_code = skip_exit_code
         self.cwd = cwd
         self.append_env = append_env
-        if kwargs.get('xcom_push') is not None:
-            raise AirflowException("'xcom_push' was deprecated, use 
'BaseOperator.do_xcom_push' instead")
 
     @cached_property
     def subprocess_hook(self):

Reply via email to