-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parsing json response funcion is now customizable (still defaults to … (
#1) * Parsing json response funcion is now customizable (still defaults to `json.loads`). This allows to implement JSON-RPC class hinting or any other conversions. * Tests import cleanup * Don't override aiohttp's default json loads In the case where our users aren't specifying a manual json.loads method, we'd rather omit that argument, so that aiohttp can use its logic to determine the default json.loads method. * Only allow loads as a keyword argument We're not going to commit to loads being in a particular position in the argument order on our API. * Python 3.5 compatible assertion
- Loading branch information
Showing
2 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters