[
https://issues.apache.org/jira/browse/AIRFLOW-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaxil Naik updated AIRFLOW-2498:
--------------------------------
Description:
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
was: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`
> 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)