mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
4f4e22ef47ab04b289976bb4ba4904e3c701e72d
* POC of error context and message * Move type errors to the `errors.py` module; Change errors interface a bit * Rename `.as_dict()` to `.dict()` * Fix `PydanticErrorMixin` constructor * Rename `exceptions.py` to `error_wrappers.py` * Do not include nullable `ctx` * Fix tests * Added `int_validator`; Added `IntegerError` * Added `float_validator`; Added `FloatError` * Get rid of `__mro__` in prior of `exc.code` * Removed `min_number_size` and `max_number_size` from config (#174) * Added `NumberMinSizeError` and `NumberMaxSizeError` * Added `NoneIsNotAllowedError` * Added `EnumError` * Added `path_validator`; Added `PathError` * Added `DictError` * Added `ListError` * Added `TupleError` * Added `SetError` * Added `datetime` related errors * Added `bytes` and `str` related errors * Added `SequenceError` * Improved code coverage * Display error context in string representation of validation error * Redefine error message templates using config * Review fixes * Updated changelog
pydantic ======== |BuildStatus| |Coverage| |pypi| |gitter| Data validation and settings management using python 3.6 type hinting. See `documentation`_ for more details. .. |BuildStatus| image:: https://travis-ci.org/samuelcolvin/pydantic.svg?branch=master :target: https://travis-ci.org/samuelcolvin/pydantic .. |Coverage| image:: https://codecov.io/gh/samuelcolvin/pydantic/branch/master/graph/badge.svg :target: https://codecov.io/gh/samuelcolvin/pydantic .. |pypi| image:: https://img.shields.io/pypi/v/pydantic.svg :target: https://pypi.python.org/pypi/pydantic .. |gitter| image:: https://badges.gitter.im/pydantic.svg :target: https://gitter.im/pydantic/Lobby .. _documentation: https://pydantic-docs.helpmanual.io/
Languages
Python
99.7%
Makefile
0.3%