-
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
fix: from_string method of blob and bucket class #290
fix: from_string method of blob and bucket class #290
Conversation
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.
Rather than changing the signature of Blob.from_string
, the fix should be to change Blob._do_multipart_upload
(and likewise Blob._initiate_resumable_upload
) to use the passed-in client. The caller (Blob._do_upload
) should likewise call self._require_client
to use its own _client
attribute as a fallback for when no explicit client
is passed in.
…into storage_issue_286
…into storage_issue_286
…into storage_issue_286
@tseaver PTAL! |
Fixes #286