lollipop
lollipop copied to clipboard
Python data serialization/validation library
Just a friendly reminder. When I run tests through `pytest` on Python 3.8.10, I see warnings: ``` ../home/vagrant/.local/lib/python3.8/site-packages/lollipop/compat.py:29 /home/vagrant/.local/lib/python3.8/site-packages/lollipop/compat.py:29: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from...
Number(strict=False).load("123") == 123
Current messages are not enough specific and don't actually help end user to figure out the problem. For example if we use constant type: >>> from lollipop import types >>>...
Use *validators instead of validators which improves interface: Each(Validator1, Validator2, Validator3) versus Each([Validator1, Validator2, Validator3])