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

ASF subversion and git services commented on AIRFLOW-2498:
----------------------------------------------------------

Commit 62b95f8bce2fbad492104043f557495e474c02f4 in incubator-airflow's branch 
refs/heads/master from [~kaxilnaik]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=62b95f8 ]

[AIRFLOW-2498] Fix Unexpected argument in SFTP Sensor

- The SFTP sensor is using SFTP hook and passing
`sftp_conn_id` to `sftp_conn_id` parameter which
doesn't exist. The solution would be to remove the
parameter name, hence defaulting to first
parameter which in this case would be
`ftp_conn_id`

Closes #3392 from kaxil/AIRFLOW-2498


> Unexpected argument in SFTP Sensor
> ----------------------------------
>
>                 Key: AIRFLOW-2498
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2498
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: contrib
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The SFTP sensor is using SFTP hook and passing `sftp_conn_id` to 
> `sftp_conn_id` parameter which doesn't exist. The solution would be to remove 
> the parameter name, hence defaulting to first parameter which in this case 
> would be `ftp_conn_id`.
> For reference:
> https://github.com/apache/incubator-airflow/blob/master/airflow/contrib/hooks/sftp_hook.py#L42



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

Reply via email to