hx-markterry opened a new pull request #16338:
URL: https://github.com/apache/airflow/pull/16338


   Related: https://github.com/apache/airflow/issues/16323
   
   The SFTP hook does not allow for a SSH private key string to be used, only a 
private key file path. As it is based on the SSH hook, which does allow for a 
private key string to be used, a small change could align these two hooks.
   
   This change first checks if a paramiko object is present after the SSH hook 
has been initialised, and the prefers that rather than the ssh key file path.
   
   This is more a working idea than a finished PR, If this approach is deemed 
acceptable I'll be happy to turn this into a fully formed code change.
   
   Thanks in advance.
   


-- 
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]


Reply via email to