googleapis / googleapis/google-cloud-python

Allow transfer_manager to upload/download file-like object

Ouverte
#15,971 1 commentaire 1 réaction 1 personne assignée Assignée à @chandra-siri Voir sur GitHub
api: storage type: feature request
Langage dominant
Python
Étoiles
5.4k
Forks
1.8k
Merge moyen
3 j 4 h
PR mergées (30 j)
122

Description

**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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.