Skip to content

Commit 02316ea

Browse files
authored
Merge pull request #2129 from adw1n/i2122-docs
Fix docs for `chunk_size` parameter
2 parents e78e4e7 + 74a293a commit 02316ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/models/images.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ def save(self, chunk_size=DEFAULT_DATA_CHUNK_SIZE):
6464
Get a tarball of an image. Similar to the ``docker save`` command.
6565
6666
Args:
67-
chunk_size (int): The number of bytes returned by each iteration
68-
of the generator. If ``None``, data will be streamed as it is
69-
received. Default: 2 MB
67+
chunk_size (int): The generator will return up to that much data
68+
per iteration, but may return less. If ``None``, data will be
69+
streamed as it is received. Default: 2 MB
7070
7171
Returns:
7272
(generator): A stream of raw archive data.

0 commit comments

Comments
 (0)