Would it be possible to provide an async/await interface ?
Reasoning :
- the client
requests package which is sync only, and HTTP/1.1 only
- to go async, you must wrap each client call in
to_thread or run_in_executor
Proposal :
- provide an async ovh client producing awaitables
- use either
httpx or aiohttp package to provide async HTTP requests
- using
httpx instead of aiohttp would enable HTTP/2
PS: i have seen in #128 that using non well-known libs was not desirable for the project.
In this regard, I do not know if you would consider httpx or aiohttp as well established.
Would it be possible to provide an
async/awaitinterface ?Reasoning :
requestspackage which is sync only, and HTTP/1.1 onlyto_threadorrun_in_executorProposal :
httpxoraiohttppackage to provide async HTTP requestshttpxinstead ofaiohttpwould enable HTTP/2PS: i have seen in #128 that using non well-known libs was not desirable for the project.
In this regard, I do not know if you would consider
httpxoraiohttpas well established.