googleapis / googleapis/google-cloud-python

Allow transfer_manager to upload/download file-like object

オープン
#15,971 コメント 1 件 リアクション 1 件 担当者 1 名 @chandra-siri に割り当て済み GitHub で見る
api: storage type: feature request
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

**Is your feature request related to a problem? Please describe.**
We'd like to have `download_chunks_concurrently` and `upload_chunks_concurrently` support file-like objects. That way, we can upload the model checkpoints directly from memory instead of writing them to disk first.

**Describe the solution you'd like**
Support passing a file-like object, such as `BytesIO`, to the `filename` in the function's argument.

**Describe alternatives you've considered**
Due to the lack of this functionality, I need to write my data in a local file and then upload the file to object storage.

**Additional context**
N/A

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。