airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaw, Damian P. " <>
Subject RE: DummyOperator error in 1.10.4
Date Wed, 07 Aug 2019 16:53:51 GMT

I'm not an Airflow expert and I've not had time to test this myself but poking around in the
code it appears BaseOperator has a new parameter "do_xcom_push":

Whereas the old BaseOperator did not have this:

As all Operators and Sensors inherit from BaseOperator it would appear your DummyOperator
object is coming from Airflow 1.10.3 or lower environment but you're running it in an Airflow
1.10.4 environment.

Could this be the case?


-----Original Message-----
From: Frank Maritato [] 
Sent: Wednesday, August 07, 2019 12:27 PM
Subject: DummyOperator error in 1.10.4

Hi All,

I'm testing my dags in airflow 1.10.4 and I ran across this error:

[2019-08-07 16:13:09,712] {} ERROR -
'DummyOperator' object has no attribute 'do_xcom_push'
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/airflow/models/",
line 925, in _run_raw_task
    if task_copy.do_xcom_push and result is not None:
AttributeError: 'DummyOperator' object has no attribute 'do_xcom_push'
[2019-08-07 16:13:09,713] {} INFO - Marking task as FAILED.

Is this a misconfiguration on my side?  This definitely worked in 1.10.3

start = DummyOperator(

Also, a note, I had to explicitly add werkzeug==0.15.0 to my docker
container requirements.txt file in order for 1.10.4 to work at all.

Frank Maritato

Please access the attached hyperlink for an important electronic communications disclaimer: 

View raw message