cerberus
cerberus copied to clipboard
Lightweight, extensible data validation library for Python
I'm trying to require key only when another key has a certain value. I'm sure it is possible but I believe the docs can be improved or an example can...
Used Cerberus version / latest commit: 1.3.4 - [x] I have the capacity to improve the docs when my problem is solved. - [x] I have the capacity to submit...
#### Feature request Currently Validator is designed for both data validation and normalization. This introduce some logic difficulties in schema writing. It's could be better if cerberus could add a...
Used Cerberus version / latest commit: - version: 1.3.4 - [ X ] I have the capacity to improve the docs when my problem is solved. - [ X ]...
Resolves issue #582 by skipping the *of_schema rules when a nullable field is set to None.
I'm trying to extend cerberus behavior as it is done with custom coercers in documentation: https://docs.python-cerberus.org/en/stable/customize.html#custom-coercers The example given in documentation fails if the schema contains a list. Here is...
Used Cerberus version: 1.3.4 #### Use-case abstract There is a value in my schema that can be an integer or a string or null. #### Bug report This seems like...
the `validate*` methods of a validator makes a copy of the document being validated and rely on that document not changing during validation. When used in a multi-threaded context with...
pkg_resources use a lot of memory and after introducing importlib.metadata in 3.8 looks obsolete. So let's change way to get package version and get rid of pkg_resources import.
Hi, I noticed that the wheel for version 1.3.4 is missing on PyPI: https://pypi.org/project/Cerberus/1.3.4/#files