Files
pydantic/docs/examples
Samuel Colvin 7a06736ead Add additional parameters to Schema for validation and annotation (#319)
* Add additional parameters to Schema for validation and annotation (#311)

* Add tests for validation declared via Schema class in defaults

* Add validations to field from declarations in Schema

* Add annotations in generated JSON Schema from validations via Schema

* Augment tests for schema generation

* Simplify validations from Schema in fields, from coverage hints

* Update schema test to use the spec plural "examples"

* Add docs and simple example of the additional parameters for Schema

* Update history

* Fix number of PR in HISTORY

* Refactor check for numeric types, remove break to make coverage happy

* Fix typo in docs, I confused gt with maximum

* Finish docstring for Schema (I had forgotten about it)

* Implement code review requests and lenient_issubclass with tests

* Move Schema to its now file to extract from fields.py but avoid circular imports

* Control coverage

* Schema fixes (#318)

* rearrange code

* cleanup get_annotation_from_schema

* fix typo

* rename _schema to schema
2018-12-03 12:37:39 +00:00
..
2018-08-25 17:06:32 +01:00
2018-02-06 13:56:45 +00:00
2018-10-01 09:48:28 +01:00
2018-08-29 10:38:02 +01:00
2018-08-25 17:06:32 +01:00
2017-06-21 18:15:08 +01:00
2018-06-04 10:55:48 +01:00
2017-06-21 18:15:08 +01:00
2018-06-18 12:20:10 +01:00
2017-11-07 11:26:16 +00:00
2017-11-08 14:37:01 +00:00
2018-06-24 17:52:56 +01:00