Closed duhaime closed 5 years ago
it looks like this one method handles all json parsing for the app (nice factoring!), so this should take care of python 3 users...
Hey, thanks for the PR, I think it's better to solve this problem by using resp.json()
from requests
directly. Would you mind updating your PR to handle it this way?
@mtrovo sounds good!
I also added a test for bytes responses, and took a moment to update some method calls in the extant tests that were throwing deprecated method warnings.
@mtrovo just checking in to see if you saw these changes!
ping @mtrovo ping @alexis-mignon
I just pinged both of you as the library blows up in Python 3 without this change, and Python 2 is now largely defunct...
@alexis-mignon Merci!
…oses #111