Skip to content

Commit 4f16cf5

Browse files
committed
Note potential additional API call to reload 'media_link'.
Addresses: #1559 (comment)
1 parent 05ee5d0 commit 4f16cf5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gcloud/storage/blob.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ def delete(self, client=None):
277277
def download_to_file(self, file_obj, client=None):
278278
"""Download the contents of this blob into a file-like object.
279279
280+
.. note::
281+
282+
If the server-set property, :attr:`media_link`, is not yet
283+
initialized, makes an additional API request to load it.
284+
280285
:type file_obj: file
281286
:param file_obj: A file handle to which to write the blob's data.
282287

0 commit comments

Comments
 (0)