i8enn / pydantic-odm

Small async ODM for MongoDB based in Motor and Pydantic library
MIT License
39 stars 8 forks source link

Implemented pre-save validation in DBPydanticMixin #36

Closed i8enn closed 3 years ago

i8enn commented 3 years ago

Implemented validation method called before operations of save to database:

codecov-io commented 3 years ago

Codecov Report

Merging #36 (48ceb1e) into master (6fe87c6) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            6         6           
=========================================
  Hits             6         6           

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 6fe87c6...48ceb1e. Read the comment docs.