Skip to content

Storage: download_as_string documentation says that it downloads a string, instead of bytes #9290

@olsgaard

Description

@olsgaard

For google-cloud-storage, in the documentation for download_as_string() method on blobs, it says on line 715:

 """Download the contents of this blob as a string. 

This is not true. The confusingly named method downloads the content as bytes, not string.

On line 731, the return type is correctly declared as bytes, but reading the documentation, you are still presented with conflicting information.

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions