mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
2ac10affe5
* Allow ellipsis on Fields within annotated types The usecase is TypedDicts, which can't have default values otherwise. Meaning that adding Optionals to Annotated drops them from the list of required fields, which the patch fixes. * Add test for TypedDict required optionals Clarifies what's required with TypedDicts schemas. * Add description of changes * PR feedback * extra tests as requested Co-authored-by: Samuel Colvin <s@muelcolvin.com>
Pending Changes
This directory contains files describing changes to pydantic since the last release.
If you're creating a pull request, please add a new file to this directory called
<pull request or issue id>-<github username>.md. It should be formatted as a single paragraph of markdown
The contents of this file will be used to update HISTORY.md before the next release.