commit | 665ad3dfa9993b9a4000b097ddead4e292590e8c | [log] [tgz] |
---|---|---|
author | Zac Hatfield-Dodds <Zac-HD@users.noreply.github.com> | Sun Nov 24 21:48:48 2019 +1100 |
committer | Ivan Levkivskyi <levkivskyi@gmail.com> | Sun Nov 24 10:48:48 2019 +0000 |
tree | 886741ee4ffc36e769575e51b5e576d1f8e22b02 | |
parent | 041d8b48a2e59fa642b2c5124d78086baf74e339 [diff] |
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.