[ 
https://issues.apache.org/jira/browse/AIRFLOW-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779103#comment-16779103
 ] 

jack commented on AIRFLOW-1274:
-------------------------------

Fixed in 1.9.0 PR:  https://github.com/apache/airflow/pull/2342

> HttpSensor parameter params is overriding BaseOperator params and should be 
> renamed
> -----------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-1274
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1274
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Alice Berard
>            Assignee: Alice Berard
>            Priority: Major
>             Fix For: 1.10.0
>
>
> {{HttpSensor}} parameter {{params}} is overriding BaseOperator {{params}} and 
> should be renamed.
> It is screwing DAG parsing:
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/dist-packages/airflow/models.py", line 264, 
> in process_file
>     m = imp.load_source(mod_name, filepath)
>   File 
> "/home/alice_berard/mydags/anomaly_detection/anomaly_detection/curiosity/curiosity_dags.py",
>  line 14, in <module>
>     pool='curiosity',
>   File 
> "/home/alice_berard/mydags/anomaly_detection/anomaly_detection/curiosity/dag_builder.py",
>  line 133, in build
>     pool=self.pool
>   File "/usr/local/lib/python2.7/dist-packages/airflow/utils/decorators.py", 
> line 58, in wrapper
>     dag_params.update(params)
> ValueError: dictionary update sequence element #0 has length 1; 2 is required



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to