diff --git a/stubs/paramiko/METADATA.toml b/stubs/paramiko/METADATA.toml index c209112e1ab6..b526e1ea4802 100644 --- a/stubs/paramiko/METADATA.toml +++ b/stubs/paramiko/METADATA.toml @@ -1,3 +1,3 @@ -version = "2.7.*" +version = "2.8.*" python2 = true requires = ["types-cryptography"] diff --git a/stubs/paramiko/paramiko/sftp_client.pyi b/stubs/paramiko/paramiko/sftp_client.pyi index 3c794da84e3a..fd49ff3be620 100644 --- a/stubs/paramiko/paramiko/sftp_client.pyi +++ b/stubs/paramiko/paramiko/sftp_client.pyi @@ -52,7 +52,9 @@ class SFTPClient(BaseSFTP, ClosingContextManager): def put( self, localpath: bytes | Text, remotepath: bytes | Text, callback: _Callback | None = ..., confirm: bool = ... ) -> SFTPAttributes: ... - def getfo(self, remotepath: bytes | Text, fl: IO[bytes], callback: _Callback | None = ...) -> int: ... - def get(self, remotepath: bytes | Text, localpath: bytes | Text, callback: _Callback | None = ...) -> None: ... + def getfo(self, remotepath: bytes | Text, fl: IO[bytes], callback: _Callback | None = ..., prefetch: bool = ...) -> int: ... + def get( + self, remotepath: bytes | Text, localpath: bytes | Text, callback: _Callback | None = ..., prefetch: bool = ... + ) -> None: ... class SFTP(SFTPClient): ...