airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxime Beauchemin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRFLOW-1274) HttpSensor parameter params is overriding BaseOperator params and should be renamed
Date Tue, 13 Jun 2017 15:44:00 GMT

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

Maxime Beauchemin updated AIRFLOW-1274:
---------------------------------------
    Fix Version/s:     (was: 1.8.2)
                   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
>             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
(v6.4.14#64029)

Mime
View raw message