Staging
v0.8.1
https://github.com/python/cpython
Revision 665ad3dfa9993b9a4000b097ddead4e292590e8c authored by Zac Hatfield-Dodds on 24 November 2019, 10:48:48 UTC, committed by Ivan Levkivskyi on 24 November 2019, 10:48:48 UTC
This patch enables downstream projects inspecting a TypedDict subclass at runtime to tell which keys are optional.

This is essential for generating test data with Hypothesis or validating inputs with typeguard or pydantic.
1 parent 041d8b4
History
Tip revision: 665ad3dfa9993b9a4000b097ddead4e292590e8c authored by Zac Hatfield-Dodds on 24 November 2019, 10:48:48 UTC
Better runtime TypedDict (GH-17214)
Tip revision: 665ad3d
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.2 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 492.2 KB
configure.ac -rw-r--r-- 162.7 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.0 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top