Files
pydantic/docs/usage
Sebastián Ramírez d9bbb05a16 Implement Optional required (#1031)
* Implement Optional required, when creating a ModelField(required=True), make it persist

* Add test for nullable required

* Improve formatting of Undefined custom object

* Refactor field infer/creation with Undefined to make it idempotent

Needed for when _type_analysis is re-run in Generics

* Add PR changes

* Increment/update tests with code review

* Update/refactor Undefined implementation with code review

* Fix BoolUndefined as string type for mypy, not runtime

* Add docs about required Optional

* Add explicit tests for Any

* Apply code review requested changes

* move tests out of test_validators.py
2019-11-28 16:48:33 +00:00
..
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-28 16:48:33 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-07 14:40:44 +00:00
2019-11-28 16:48:33 +00:00
2019-10-14 16:40:25 +01:00