You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/13 08:58:49 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #20241: Fix MyPy Errors for SSH provider

potiuk commented on a change in pull request #20241:
URL: https://github.com/apache/airflow/pull/20241#discussion_r767521911



##########
File path: airflow/providers/ssh/hooks/ssh.py
##########
@@ -305,7 +305,7 @@ def get_conn(self) -> paramiko.SSHClient:
         client.connect(**connect_kwargs)
 
         if self.keepalive_interval:
-            client.get_transport().set_keepalive(self.keepalive_interval)
+            client.get_transport().set_keepalive(self.keepalive_interval)  # type: ignore[union-attr]

Review comment:
       I think just add the comment above it why the ignore. This is only a local problem that will nt bubble to any users of the provider.




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org