mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add prefetch argument to paramiko SFTPClient.getfo (#6331)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version = "2.7.*"
|
||||
version = "2.8.*"
|
||||
python2 = true
|
||||
requires = ["types-cryptography"]
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user