You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/05/30 08:41:00 UTC

[jira] [Closed] (AIRFLOW-1274) HttpSensor parameter params is overriding BaseOperator params and should be renamed

     [ https://issues.apache.org/jira/browse/AIRFLOW-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor closed AIRFLOW-1274.
--------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.10.0)
                   1.9.0

> 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.9.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)