Skip to content

Conversation

@MjMoshiri
Copy link
Contributor

Fix issue #3257 by replacing ALLLLLLLLLLLLLLLLLL the download_as_string with download_as_bytes as it's Deprecated.

bucket = client.bucket(bucket_name)
blob = bucket.blob(path, chunk_size=self._chunk_size())
return blob.download_as_string()
return blob.download_as_bytes()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does decode need to be called on this result to return the same type?

@jonathanmetzman
Copy link
Collaborator

/gcbrun

@vitorguidi vitorguidi merged commit 366aa24 into google:master Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants