pgillet opened a new pull request #14028:
URL: https://github.com/apache/airflow/pull/14028
Some operators perform SFTP operations by the means of `SFTPHook`.
`SFTPHook` delegates the actual SFTP connection to
the `pysftp` module.
When connecting with a private key protected by a passphrase, the
`private_key_pass` extra parameter had to be
specified in the connection, and this corresponds to the arguments' naming
in `pysftp`.
However, `SFTPHook` inherits from `SSHHook` which already manages a
`private_key_passphrase` extra param. But this
param was unused in favor of the `private_key_pass` param introduced in
`SFTPHook`.
For consistency, `private_key_pass` has been dropped in `SFTPHook` and
`private_key_passphrase` is well reused.
This way, a single connection can be used for both SSH and SFTP operations.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]