Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Create certain fields from validator functions #22

Merged
merged 8 commits into from Nov 13, 2018
Merged

Conversation

rossmacarthur
Copy link
Owner

  • Add field.create() function to create Field classes from functions.
  • Dynamically create Domain, Email, Slug, Url Fields.
  • Move validation stuff to a validate module.
  • In tests, always import from package not submodules where possible.

@codecov-io
Copy link

codecov-io commented Nov 13, 2018

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #22   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           7      6    -1     
  Lines         420    437   +17     
=====================================
+ Hits          420    437   +17
Impacted Files Coverage Δ
serde/field.py 100% <100%> (ø)
serde/validate.py 100% <100%> (ø)

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 21e0dcb...93876ad. Read the comment docs.

@rossmacarthur rossmacarthur merged commit 425c91e into master Nov 13, 2018
@rossmacarthur rossmacarthur deleted the validators branch November 13, 2018 19:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants