-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a async storage client, So async
, wait
can be used?
#478
Comments
Hi @Cedric-Chen, we don't officially support |
cc: @Breathtender @andrewsg |
Hey @Cedric-Chen and anyone else curious about this. For now, while there isn't much official support included yet, it is possible to manually create async tasks in such a way that you can get some parallelization going with the storage library. If there are any questions please feel free to inquire and I can do my best to answer. |
In the example of @Breathtender things will run concurrently but not in parallel , cause If |
Yep, I was excited for a moment, but the example isn't a case of 'true' asyncio unfortunately. Is there any updated timeline for proper first class asyncio upload/download support in this library? 🙏 |
This library seems to at least have some asyncio functionality on top of the gcloud library: https://github.com/talkiq/gcloud-aio |
A few functions are skipped by gcloud-aio package mentioned here by @zoidbergwill . This repo provides the support for all the asyncio functionalities which can be achieved using json api. I hope you found it helpful. |
Commenting in 2024, almost three years since this ticket has been opened... Any chance this feature request has made progress? It'd be great for this library to offer official asyncio support like many other official GCP Python clients do. Reading and writing chunks over a network to Cloud Storage is the exact kind of I/O-bound workload that asyncio excels at. That, and asyncio's uptake in the Python world is only increasing, not decreasing. |
Hey Google Storage team, our whole architecture is on GCP. And we have an application where the code must be super async (No code must be sync), we are stuck with this package because there is no async support. And the Google-aio-storage thing takes 100ms time to download/upload. I am open to join as a beta user too! |
For google speech to text api, there are two types of client
But I couldn't find one
AsyncClient
for google storage service. Is there one official implementation?The text was updated successfully, but these errors were encountered: