vivek-meka commented on issue #47129: URL: https://github.com/apache/airflow/issues/47129#issuecomment-2689207293
Yes here is the change that caused this issue. [PR](https://github.com/apache/airflow/pull/44247/files#diff-d12bfdf9541f6eaf52829b1040a95cc70d8e91a78d3eebe2771232d8ba5d7888R114) Looks like we have below options as of now based on how you are using SFTPHook - Use airflow-providers-sftp version 5.0.0 - Change how we are using the SFTPHook Instead of this ``` conn = sftpHook.get_conn() conn.listdir_attr(remoteRootDir) ``` Use this ``` with sftpHook.get_conn() as conn: conn.listdir_attr(remoteRootDir) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
