Nikita Grishko 31683f8dc4 Errors format (#179)
* Get rid of `track` in errors

* Move `display_as_type` func into utils module

* Get rid of error as `namedtuple`

* Renamed `Error.index` to `Error.loc`

* New way to get error type

* New way to get error message

* New errors format

* Renamed `flatten_errors` property to `flat_errors`

* `__slots__` for `Error` and `ValidationError`

* `loc` as `tuple`

* Tests

* Review fixes

* `flatten_errors` as generator
2018-05-23 14:50:04 +01:00
2018-05-23 14:50:04 +01:00
2018-05-23 14:50:04 +01:00
2017-10-23 16:06:16 +01:00
2018-03-25 18:09:37 +01:00
2018-05-10 16:05:39 +01:00
2017-05-03 22:23:41 +01:00
2017-06-03 17:04:10 +01:00
2017-06-03 17:45:49 +01:00
2018-03-25 18:09:37 +01:00

pydantic
========

|BuildStatus| |Coverage| |pypi|

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
.. _documentation: https://pydantic-docs.helpmanual.io/
S
Description
No description provided
Readme MIT 5.9 MiB
Languages
Python 99.7%
Makefile 0.3%