mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 04:41:30 +08:00
paramiko.SSHClient.open_sftp never returns None (#4969)
This commit is contained in:
2
third_party/2and3/paramiko/client.pyi
vendored
2
third_party/2and3/paramiko/client.pyi
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user