Skip to content

Conversation

tiangolo
Copy link
Contributor

@tiangolo tiangolo commented Jan 29, 2019

Change Summary

Test NoneType directly in Field.include_in_schema and add test for validator decorator

Related issue number

Issue #363

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>

@codecov
Copy link

codecov bot commented Jan 29, 2019

Codecov Report

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

@@          Coverage Diff          @@
##           master   #375   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines        1894   1894           
  Branches      369    369           
=====================================
  Hits         1894   1894

Copy link
Contributor Author

@tiangolo tiangolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question/check.

@samuelcolvin samuelcolvin changed the title Fix for #363 custom validators in schema Jan 29, 2019
@tiangolo
Copy link
Contributor Author

I just rebased and force pushed to solve the conflicts. This is ready for your review @samuelcolvin .

@samuelcolvin samuelcolvin merged commit 725e86a into pydantic:master Jan 30, 2019
@tiangolo tiangolo deleted the issue-363 branch January 30, 2019 10:34
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.

2 participants