Closed pirate closed 7 years ago
Hey Nick, That PR was closed in lieu of https://github.com/kennethreitz/grequests/pull/22 which looks like it's stagnant. The discuss seems lead us to instead using https://github.com/ross/requests-futures which supports error handling.
Hi Nick, we decided to move away from grequests
in v1.0 (you can see some arguments for it in https://github.com/closeio/closeio-api/pull/78#issuecomment-275871159 and in https://github.com/closeio/closeio-api/pull/78#issuecomment-276209971).
To replicate a similar behavior, you can spawn multiple api.get/post/put/delete
requests in a gevent.pool
.
Hey close.io devs, this is Nick Sweeting with drchrono, thanks for writing this python library, it makes our lives a lot easier.
I'm writing a PR for the TODO you guys put in init.py:71
grequests now supports passing an exception_handler function so we no longer have to deal with this APIError() monkey business. I've started updating the code and should have a pull request ready in a few days.
the new code will follow this pattern: