feat: add gccl-gcs-cmd field to X-Goog-API-Client header for Transfer Manager calls by andrewsg · Pull Request #1119 · googleapis/python-storage

* Refactor client.download_blob_to_file

* Chore: clean up code

* refactor blob and client unit tests

* lint reformat

* Rename _prep_and_do_download
* 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
…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
…sfer manager (#1096)

* 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

* feature: utilize new private interface to pass 'command' through transfer manager

* add default value to content_type in blob.handle_filename_and_upload()

* add 'command' to downloan_chunks_concurrently

* docstring editing

* refactor transfer manager unit tests

* refactor expected download/upload kwargs

@andrewsg

@andrewsg

@andrewsg

@andrewsg

@andrewsg andrewsg changed the title fix: add gccl-gcs-cmd field to X-Goog-API-Client header for Transfer Manager calls feat: add gccl-gcs-cmd field to X-Goog-API-Client header for Transfer Manager calls

Sep 19, 2023

@andrewsg andrewsg added the automerge

Merge the pull request once unit tests and other checks pass.

label

Sep 19, 2023