Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Downloading factory blob fails because media_link isn't available #1555

Copy link
Copy link

Description

@jlowin
Issue body actions

Creating a blob like this loads the blob's properties, so downloading works (if it exists) since the download_url is available:

blob = client.bucket(bucket_name).get_blob(blob_name)
blob.download_as_string() # works

But this doesn't load properties, so the download fails (even in the blob is valid):

blob = client.bucket(bucket_name).blob(blob_name) # note .blob() instead of .get_blob()
blob.download_as_string() # fail, no URI
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.