|
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
14 | 14 |
|
15 | | -"""Concurrent media operations. This is a PREVIEW FEATURE: API may change.""" |
| 15 | +"""Concurrent media operations.""" |
16 | 16 |
|
17 | 17 | import concurrent.futures |
18 | 18 |
|
|
40 | 40 | from google.resumable_media.requests.upload import XMLMPUPart |
41 | 41 | from google.resumable_media.common import DataCorruption |
42 | 42 |
|
43 | | -warnings.warn( |
44 | | - "The module `transfer_manager` is a preview feature. Functionality and API " |
45 | | - "may change. This warning will be removed in a future release." |
46 | | -) |
47 | | - |
48 | | - |
49 | 43 | TM_DEFAULT_CHUNK_SIZE = 32 * 1024 * 1024 |
50 | 44 | DEFAULT_MAX_WORKERS = 8 |
51 | 45 | MAX_CRC32C_ZERO_ARRAY_SIZE = 4 * 1024 * 1024 |
@@ -120,8 +114,6 @@ def upload_many( |
120 | 114 | ): |
121 | 115 | """Upload many files concurrently via a worker pool. |
122 | 116 |
|
123 | | - This function is a PREVIEW FEATURE: the API may change in a future version. |
124 | | -
|
125 | 117 | :type file_blob_pairs: List(Tuple(IOBase or str, 'google.cloud.storage.blob.Blob')) |
126 | 118 | :param file_blob_pairs: |
127 | 119 | A list of tuples of a file or filename and a blob. Each file will be |
@@ -278,8 +270,6 @@ def download_many( |
278 | 270 | ): |
279 | 271 | """Download many blobs concurrently via a worker pool. |
280 | 272 |
|
281 | | - This function is a PREVIEW FEATURE: the API may change in a future version. |
282 | | -
|
283 | 273 | :type blob_file_pairs: List(Tuple('google.cloud.storage.blob.Blob', IOBase or str)) |
284 | 274 | :param blob_file_pairs: |
285 | 275 | A list of tuples of blob and a file or filename. Each blob will be downloaded to the corresponding blob by using APIs identical to blob.download_to_file() or blob.download_to_filename() as appropriate. |
@@ -432,8 +422,6 @@ def upload_many_from_filenames( |
432 | 422 | ): |
433 | 423 | """Upload many files concurrently by their filenames. |
434 | 424 |
|
435 | | - This function is a PREVIEW FEATURE: the API may change in a future version. |
436 | | -
|
437 | 425 | The destination blobs are automatically created, with blob names based on |
438 | 426 | the source filenames and the blob_name_prefix. |
439 | 427 |
|
@@ -622,8 +610,6 @@ def download_many_to_path( |
622 | 610 | ): |
623 | 611 | """Download many files concurrently by their blob names. |
624 | 612 |
|
625 | | - This function is a PREVIEW FEATURE: the API may change in a future version. |
626 | | -
|
627 | 613 | The destination files are automatically created, with paths based on the |
628 | 614 | source blob_names and the destination_directory. |
629 | 615 |
|
@@ -792,8 +778,6 @@ def download_chunks_concurrently( |
792 | 778 | ): |
793 | 779 | """Download a single file in chunks, concurrently. |
794 | 780 |
|
795 | | - This function is a PREVIEW FEATURE: the API may change in a future version. |
796 | | -
|
797 | 781 | In some environments, using this feature with mutiple processes will result |
798 | 782 | in faster downloads of large files. |
799 | 783 |
|
|
0 commit comments