seandstewart / typical

Typical: Fast, simple, & correct data-validation using Python 3 typing.
https://python-typical.org
MIT License
183 stars 9 forks source link

Fix deserialization of nested dicts with exactly two keys. #180

Closed seandstewart closed 2 years ago

seandstewart commented 2 years ago

Resolves #179

codecov[bot] commented 2 years ago

Codecov Report

Merging #180 (a30dc2a) into main (b4e18f7) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #180   +/-   ##
=======================================
  Coverage   95.01%   95.01%           
=======================================
  Files          37       37           
  Lines        4150     4156    +6     
  Branches      577      577           
=======================================
+ Hits         3943     3949    +6     
  Misses        128      128           
  Partials       79       79           
Flag Coverage Δ
unittests 94.89% <100.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
typic/ext/json.py 100.00% <ø> (ø)
typic/__init__.py 100.00% <100.00%> (ø)
typic/checks.py 97.33% <100.00%> (ø)
typic/compat.py 100.00% <100.00%> (ø)
typic/serde/des.py 92.98% <100.00%> (+0.07%) :arrow_up:

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 b4e18f7...a30dc2a. Read the comment docs.