Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(storage): add opt-in raw download support#9572

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tseaver merged 11 commits intogoogleapis:masterfromtseaver:9565-storage-add-opt-in-raw-download-support
Nov 5, 2019
Merged

feat(storage): add opt-in raw download support#9572

tseaver merged 11 commits intogoogleapis:masterfromtseaver:9565-storage-add-opt-in-raw-download-support
Nov 5, 2019

Conversation

@tseaver
Copy link
Contributor

Note to reviewers: this is likely better viewed commit-by-commit.

Bumpsgoogle-resumable-media dependency forgoogle-cloud-storage to require >= 0.5.0, whilegoogle-cloud-bigquery just allows it (BigQuery doesn't use the download classes).

Closes#9565.

Avoid depending on implementation details of download objects fromgoogle-resumable-media.
Avoid depending on implementation details of download objects fromgoogle-resumable-media.
Never import module-under-test at module scope of testcase.
Avoid reusing fixtures which do more than needed.
Consolidate duplicated code in prep for adding 'raw_download' option.
If True, uses the 'RawDownload' / 'RawChunkedDownload' helpers from'google.resumable_media', ensuring that the contents are not expandedby the requests transport.
If True, uses the 'RawDownload' / 'RawChunkedDownload' helpers from'google.resumable_media', ensuring that the contents are not expandedby the requests transport.
@tseavertseaver added the api: storageIssues related to the Cloud Storage API. labelOct 30, 2019
@tseavertseaver requested a review froma teamOctober 30, 2019 20:57
@googlebotgooglebot added the cla: yesThis human has signed the Contributor License Agreement. labelOct 30, 2019
@tseavertseaver changed the titlefeat(storage): add opt in raw download supportfeat(storage): add opt-in raw download supportOct 30, 2019
Copy link
Contributor

@tswasttswast left a comment

Choose a reason for hiding this comment

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

LGTM for BigQuery change

Copy link
Contributor

@frankynfrankyn left a comment

Choose a reason for hiding this comment

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

Will review and marking as requested changes to prevent merges.
Thank you for your patience.

Copy link
Contributor

@frankynfrankyn left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for patience@tseaver.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@tswasttswasttswast left review comments

@crwilcoxcrwilcoxAwaiting requested review from crwilcox

+1 more reviewer

@frankynfrankynfrankyn approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

api: storageIssues related to the Cloud Storage API.cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Storage: Add opt-in support for raw downloads.

4 participants

@tseaver@tswast@frankyn@googlebot

[8]ページ先頭

©2009-2025 Movatter.jp