Skip to content

Conversation

CoteTommy
Copy link

When opening a file with mode='rt', GoogleCloudFile was returning bytes instead of strings.
This adds TextIOWrapper handling similar to the S3 backend to properly support text mode reading.

Fixes the issue where storage.open('file.txt', mode='rt').read() returned bytes instead of strings (1504)

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.

1 participant