* fix: ignore `__doc__` as valid private attribute (#2091)
closes#2090
* Fixes a regression where Enum fields would not propagate keyword arguments to the schema (#2109)
fix#2108
* Fix schema extra not being included when field type is Enum
* Code format
* More code format
* Add changes file
Co-authored-by: Ben Martineau <b.martineau@iwoca.co.uk>
* fix: update all modified field values in `root_validator` when `validate_assignment` is on (#2119)
* fix: update all modified field values in `root_validator` when `validate_assignment` is on
closes#2116
* chore: update root_validator name
Co-authored-by: Arthur Pastel <arthur.pastel@gmail.com>
Co-authored-by: Arthur Pastel <arthur.pastel@gmail.com>
* fix: support `underscore_attrs_are_private` with generic models (#2139)
closes#2138
* fix: set right default value for required (optional) fields (#2143)
closes#2142
* Fix#2111: support pickle for built-in dataclasses (#2114)
* 2111: support pickle for built-in dataclasses
* 2111: add changes
* 2111: simplify test
* return original name + handle similar names
* add additional check
* fix a misspell
* remove useless f-string
* cleanup test
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
* uprev and add history
* tempoarily pin pip
Co-authored-by: Eric Jolibois <em.jolibois@gmail.com>
Co-authored-by: Ben Martineau <bm424@cam.ac.uk>
Co-authored-by: Ben Martineau <b.martineau@iwoca.co.uk>
Co-authored-by: Arthur Pastel <arthur.pastel@gmail.com>
Co-authored-by: aimestereo <aimestereo@gmail.com>
* release notes for v1
* uprev and tweaks
* Apply suggestions from code review
Co-Authored-By: dmontagu <35119617+dmontagu@users.noreply.github.com>
* tweak notes, add back link to old docs
* build changelog
* moving docs to mkdocs
* transfering readme to md and more
* fixing build
* splitting usage.md
* improving schema.md and index.md
* fix make_history.rst
* models intro
* working on data conversation and required fields
* more fixes to models.md
* list all standard types supported
* list of pydantic types
* tweaks
* update links in code
* Apply suggestions from code review
incorporate @dmontagu's suggestions.
Co-Authored-By: dmontagu <35119617+dmontagu@users.noreply.github.com>
* Apply suggestions from code review
more missed suggestions.
Co-Authored-By: dmontagu <35119617+dmontagu@users.noreply.github.com>
* Apply suggestions from code review
more corrects.
* cleanup
* Field order warning
* fix and regenerate benchmarks
* format examples better, cleanup
* improve schema mapping table
* correct highlighting file types in schema.md
* add redirects in javascript
* add logo