mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
1c3ef841e6
* feat: add validator for NoneType closes #2095 * feat: support NoneType directly as type * chore: add change file * chore: fix typo * fix: handle Literal[None] for python3.6/3.7 without typing_extensions * chore: move NotNoneError and export it * chore: use constant NONE_TYPES to simplify a bit * chore: use check on Literal instead of typing_extensions These tests would not run on python 3.8+ without typing_extensions even though Literal is defined * test: use fresh Literal[None] in test case * feat: handle `None` type in schema * docs: add NoneType documentation * refactor: switch NONE_TYPES from tuple to set
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.