-
Notifications
You must be signed in to change notification settings - Fork 167
feat: rename 'Blob.download_as_{string,bytes}', add 'Blob.download_as_text' #182
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
Conversation
tseaver
left a comment
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 <[email protected]>
…_text' (googleapis#182) Leave 'Blob.download_as_string' as a deprecated alias for 'download_as_bytes'. Co-authored-by: Tres Seaver <[email protected]>
Leave 'Blob.download_as_string' as a deprecated alias for 'download_as_bytes'.
Fixes #178