Skip to content

Asynchronous features (async, aiohttp, etc) #1637

@Vioshim

Description

@Vioshim

Hello, good evening Google devs.

Is your feature request related to a problem? Please describe.

I've been a big fan of this API and being able to use it in python, however due to it being reliant on httplib2 and
time.sleep (According to googleapiclient.http.HttpRequest).

Currently most programmers that use the API do proper threading practices in order to keep using this api without it being blocking in asynchornous context.

Describe the solution you'd like

By this reason I'd like to propose making classes that are designed for asynchronous code, those can rely on aiohttp.request which can get to be advantageous for this regard.

Describe alternatives you've considered

As stated before, the current alternative that I've been using with this library is asyncio's to_thread which helps to stop the blocking issue, but it's still not that adapted to the asynchronous context.

Additional context

Not much to add in this regard.

So that's pretty much my suggestion, have a great day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions