Skip to content

Commit 328a204

Browse files
wyardleytseaver
authored andcommitted
Update docstring to reflect correct units (googleapis#5277)
1 parent c6c1f96 commit 328a204

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

storage/google/cloud/storage/blob.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ class Blob(_PropertyMixin):
112112
:param bucket: The bucket to which this blob belongs.
113113
114114
:type chunk_size: int
115-
:param chunk_size: The size of a chunk of data whenever iterating (1 MB).
116-
This must be a multiple of 256 KB per the API
115+
116+
:param chunk_size: The size of a chunk of data whenever iterating (in
117+
bytes). This must be a multiple of 256 KB per the API
117118
specification.
118119
119120
:type encryption_key: bytes

storage/google/cloud/storage/bucket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ def blob(self, blob_name, chunk_size=None, encryption_key=None):
183183
184184
:type chunk_size: int
185185
:param chunk_size: The size of a chunk of data whenever iterating
186-
(1 MB). This must be a multiple of 256 KB per the
187-
API specification.
186+
(in bytes). This must be a multiple of 256 KB per
187+
the API specification.
188188
189189
:type encryption_key: bytes
190190
:param encryption_key:

0 commit comments

Comments
 (0)