-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: rename 'Blob.download_as_{string,bytes}', add 'Blob.download_as_text' #182
Conversation
…into storage_issue_178
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the semantics of the longstanding download_as_string
method seems like a problematic break, here. If we leave download_as_string
as a backward-compatibility shim for download_as_bytes
, and add the new implementation as download_as_text
, we avoid breaking user code and make the new semantics clearer / less ambiguous.
@tseaver PTAL whenever have a chance. |
…_text' (googleapis#182) Leave 'Blob.download_as_string' as a deprecated alias for 'download_as_bytes'. Co-authored-by: Tres Seaver <tseaver@palladion.com>
…_text' (googleapis#182) Leave 'Blob.download_as_string' as a deprecated alias for 'download_as_bytes'. Co-authored-by: Tres Seaver <tseaver@palladion.com>
Leave 'Blob.download_as_string' as a deprecated alias for 'download_as_bytes'.
Fixes #178