Chore: refactor blob.upload_from_file by MiaCY · Pull Request #1063 · googleapis/python-storage

added 8 commits

May 25, 2023 10:03
…rage into transfer_manager_usage_metrics
…nto transfer_manager_usage_metrics
…rage into transfer_manager_usage_metrics

@MiaCY

@MiaCY MiaCY marked this pull request as ready for review

June 26, 2023 18:31

@MiaCY MiaCY requested a review from a team

June 26, 2023 18:31

andrewsg

andrewsg pushed a commit that referenced this pull request

Sep 18, 2023
* Refactor client.download_blob_to_file

* Chore: clean up code

* refactor blob and client unit tests

* lint reformat

* Rename _prep_and_do_download

* Refactor blob.upload_from_file

* Lint reformat

cojenco added a commit that referenced this pull request

Oct 19, 2023
* Chore: refactor client.download_blob_to_file (#1052)

* Refactor client.download_blob_to_file

* Chore: clean up code

* refactor blob and client unit tests

* lint reformat

* Rename _prep_and_do_download

* Chore: refactor blob.upload_from_file (#1063)

* Refactor client.download_blob_to_file

* Chore: clean up code

* refactor blob and client unit tests

* lint reformat

* Rename _prep_and_do_download

* Refactor blob.upload_from_file

* Lint reformat

* feature: add 'command' argument to private upload/download interface (#1082)

* Refactor client.download_blob_to_file

* Chore: clean up code

* refactor blob and client unit tests

* lint reformat

* Rename _prep_and_do_download

* Refactor blob.upload_from_file

* Lint reformat

* feature: add 'command' argument to private upload/download interface

* lint reformat

* reduce duplication and edit docstring

* feat: add support for custom headers starting with  metadata op

* add custom headers to downloads in client blob modules

* add custom headers to uploads with tests

* update mocks and tests

* test custom headers support tm mpu uploads

* update tm test

* update test

---------

Co-authored-by: MiaCY <97990237+MiaCY@users.noreply.github.com>