Skip to content

Commit e65316b

Browse files
feat: Add multiprocessing and chunked downloading to transfer manager (#1002)
* multiprocessing intitial commit * added multiprocessing, fixed tests; tests for multiprocessing chunks pending * unit tests for multiprocessing * add system tests, fix off-by-one error detected by system tests * lint * exclude subprocess mocks from coverage * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add deadline to system tests * ban broken grpcio version * Clarify docstring for threads param * fix coverage issues and catch warning * respond to feedback * more feedback --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 085b3f8 commit e65316b

File tree

5 files changed

+1239
-328
lines changed

5 files changed

+1239
-328
lines changed

google/cloud/storage/client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ def __init__(
130130
if project is _marker:
131131
project = None
132132

133+
# Save the initial value of client_info and client_options before they
134+
# are passed along, for use in __reduce__ defined elsewhere.
135+
self._initial_client_info = client_info
136+
self._initial_client_options = client_options
137+
133138
kw_args = {"client_info": client_info}
134139

135140
# `api_endpoint` should be only set by the user via `client_options`,

0 commit comments

Comments
 (0)