Skip to content

Commit c2d1138

Browse files
authored
[paramiko] Transport.open_sftp_client never returns None (#16567)
1 parent 25f3803 commit c2d1138

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stubs/paramiko/paramiko/transport.pyi‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class Transport(Thread, ClosingContextManager):
127127
self, address: str, port: int, handler: Callable[[Channel, _Addr, _Addr], object] | None = None
128128
) -> int: ...
129129
def cancel_port_forward(self, address: str, port: int) -> None: ...
130-
def open_sftp_client(self) -> SFTPClient | None: ...
130+
def open_sftp_client(self) -> SFTPClient: ...
131131
def send_ignore(self, byte_count: int | None = None) -> None: ...
132132
def renegotiate_keys(self) -> None: ...
133133
def set_keepalive(self, interval: float) -> None: ...

0 commit comments

Comments
 (0)