Commit 9998a5e
authored
feat: Add "transfer_manager" module for concurrent uploads and downloads, as a preview feature (#943)
* checkpoint before design doc impl
* checkpoint
* more tests
* code and tests for transfer manager complete
* proactively close temp files when finished reading
* respond to comments; destroy tmp files as they are consumed
* Add system tests, docstrings, address feedback
* Respond to review comments
* verify md5 hash of downloaded file in test
* lint
* default empty strings for root arguments
* fix bug with blob constructor
* add warning about files not being deleted if their downloads fail
* docs: Add samples to multithread branch (#918)
* add samples, tests pending
* add snippet tests
* snippet and snippets_test.py linting
* snippets; recursive directory creation; rename some params
* Add directory upload snippet
* fix: remove chunked downloads; change max_workers to threads
* update snippets to add thread info
* fix snippets test issue due to change in dependency
* snippet nomenclature
* fix samples for real this time1 parent 1ca0233 commit 9998a5e
File tree
7 files changed
+1210
-19
lines changed- google/cloud/storage
- samples/snippets
- tests
- system
- unit
7 files changed
+1210
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
107 | | - | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
0 commit comments