summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--paramiko/sftp_client.py4
-rw-r--r--paramiko/sftp_file.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/paramiko/sftp_client.py b/paramiko/sftp_client.py
index d7c28f25..066cd83f 100644
--- a/paramiko/sftp_client.py
+++ b/paramiko/sftp_client.py
@@ -789,6 +789,8 @@ class SFTPClient(BaseSFTP, ClosingContextManager):
.. versionadded:: 1.10
.. versionchanged:: 2.8
Added the ``prefetch`` keyword argument.
+ .. versionchanged:: 3.3
+ Added ``max_concurrent_prefetch_requests``.
"""
file_size = self.stat(remotepath).st_size
with self.open(remotepath, "rb") as fr:
@@ -831,6 +833,8 @@ class SFTPClient(BaseSFTP, ClosingContextManager):
Added the ``callback`` param
.. versionchanged:: 2.8
Added the ``prefetch`` keyword argument.
+ .. versionchanged:: 3.3
+ Added ``max_concurrent_prefetch_requests``.
"""
with open(localpath, "wb") as fl:
size = self.getfo(
diff --git a/paramiko/sftp_file.py b/paramiko/sftp_file.py
index 94d62747..c74695e0 100644
--- a/paramiko/sftp_file.py
+++ b/paramiko/sftp_file.py
@@ -465,6 +465,8 @@ class SFTPFile(BufferedFile):
.. versionchanged:: 1.16.1
The ``file_size`` parameter was made optional for backwards
compatibility.
+ .. versionchanged:: 3.3
+ Added ``max_concurrent_requests``.
"""
if file_size is None:
file_size = self.stat().st_size
@@ -496,6 +498,8 @@ class SFTPFile(BufferedFile):
:return: a list of blocks read, in the same order as in ``chunks``
.. versionadded:: 1.5.4
+ .. versionchanged:: 3.3
+ Added ``max_concurrent_prefetch_requests``.
"""
self.sftp._log(
DEBUG, "readv({}, {!r})".format(hexlify(self.handle), chunks)