paramiko.SSHClient.open_sftp never returns None (#4969)

This commit is contained in:
Andre Delfino
2021-01-24 21:21:48 -03:00
committed by GitHub
parent 87dcb170ce
commit b9eee520bd

View File

@@ -58,7 +58,7 @@ class SSHClient(ClosingContextManager):
height_pixels: int = ...,
environment: Optional[Mapping[str, str]] = ...,
) -> Channel: ...
def open_sftp(self) -> Optional[SFTPClient]: ...
def open_sftp(self) -> SFTPClient: ...
def get_transport(self) -> Optional[Transport]: ...
class MissingHostKeyPolicy: