Better runtime TypedDict (GH-17214)
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.
Z
Zac Hatfield-Dodds committed
665ad3dfa9993b9a4000b097ddead4e292590e8c
Parent: 041d8b4
Committed by Ivan Levkivskyi <levkivskyi@gmail.com>
on 11/24/2019, 10:48:48 AM