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

dataclasses to json #575

Merged
merged 2 commits into from Jun 4, 2019

Conversation

Projects
None yet
1 participant
@samuelcolvin
Copy link
Owner

commented Jun 4, 2019

Change Summary

support dumping dataclasses to JSON by modifying pydantic_encoder.

Related issue number

replace #528

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • Documentation reflects the changes where applicable
  • HISTORY.rst has been updated
    • if this is the first change since a release, please add a new section
    • include the issue number or this pull request number #<number>
    • include your github username @<whomever>

@samuelcolvin samuelcolvin referenced this pull request Jun 4, 2019

Closed

Support dataclasses in pydantic_encoder #528

0 of 4 tasks complete

@samuelcolvin samuelcolvin force-pushed the dataclasses-json branch from e123d4f to da39637 Jun 4, 2019

@codecov

This comment has been minimized.

Copy link

commented Jun 4, 2019

Codecov Report

Merging #575 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #575   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          15     15           
  Lines        2495   2498    +3     
  Branches      498    499    +1     
=====================================
+ Hits         2495   2498    +3

@samuelcolvin samuelcolvin merged commit 9ffa311 into master Jun 4, 2019

7 of 10 checks passed

Header rules No header rules processed
Details
Pages changed All files already uploaded
Details
Redirect rules No redirect rules processed
Details
Mixed content No mixed content detected
Details
codecov/project 100% (+0%) compared to 2a04aa7
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details
pyup.io/safety-ci No dependencies with known security vulnerabilities.
Details
samuelcolvin.pydantic Build #20190604.8 succeeded
Details

@samuelcolvin samuelcolvin deleted the dataclasses-json branch Jun 4, 2019

@codecov

This comment has been minimized.

Copy link

commented Jun 4, 2019

Codecov Report

Merging #575 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #575   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          15     15           
  Lines        2495   2498    +3     
  Branches      498    499    +1     
=====================================
+ Hits         2495   2498    +3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.