Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom loads function #2445

Merged
merged 7 commits into from Jun 29, 2022
Merged

Conversation

azimovMichael
Copy link
Contributor

@azimovMichael azimovMichael commented May 2, 2022

A PR for #2436 .
Added an option to add a custom loads function, the same way you can add a custom dumps.

@azimovMichael azimovMichael requested a review from a team as a code owner May 2, 2022
@codecov
Copy link

codecov bot commented May 2, 2022

Codecov Report

Merging #2445 (8ae3401) into main (13d5a44) will increase coverage by 0.047%.
The diff coverage is 83.333%.

@@              Coverage Diff              @@
##              main     #2445       +/-   ##
=============================================
+ Coverage   87.349%   87.396%   +0.047%     
=============================================
  Files           69        69               
  Lines         5549      5554        +5     
  Branches       964       966        +2     
=============================================
+ Hits          4847      4854        +7     
+ Misses         510       508        -2     
  Partials       192       192               
Impacted Files Coverage Δ
sanic/request.py 95.287% <75.000%> (-0.227%) ⬇️
sanic/app.py 88.718% <100.000%> (+0.043%) ⬆️
sanic/server/protocols/http_protocol.py 83.823% <0.000%> (+2.205%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 13d5a44...8ae3401. Read the comment docs.

tests/test_json_decoding.py Outdated Show resolved Hide resolved
@ahopkins ahopkins merged commit e4be70b into sanic-org:main Jun 29, 2022
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants