encode / requests-async

async-await support for `requests`. ✨ 🍰 ✨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exceptions import

larsclaussen opened this issue · comments

First of all, good work there on the ASGI/async front! Highly appreciated.

So far porting my code from requests to requests_async has been seamless. I was wondering, however, how to properly import exceptions. Using requests directly I'd do

from requests import exceptions

I would expect that I was also able to import exceptions the same way

from requests_async import exceptions

Is this by design because the intention is just to be able to use await for making requests? Or is the plan to wrap the requests lib entirely?

Released as 0.1.2 👍

Nice, thanks!