I don't have much to comment here, just wanted to say that since we have the PEP now I am going to move TypedDict to typing_extensions in next few days.

--
Ivan



On Mon, 15 Apr 2019 at 09:35, Jukka Lehtosalo <jlehtosalo@gmail.com> wrote:
Hi everyone,

I've submitted PEP 589 to the PEPs repository. This PEP proposes a new kind of type, TypedDict, for representing dictionaries with a fixed set of keys. These can be be used to represent JSON objects, for example.

Discussion on the PEP happens here in typing-sig@. Minor things can be fixed directly as PRs.

Here is the full PEP draft:


Mypy supports TypedDict and the relevant documentation may also be helpful (but the PEP takes priority over mypy documentation):


Jukka
_______________________________________________
Typing-sig mailing list -- typing-sig@python.org
To unsubscribe send an email to typing-sig-leave@python.org
https://mail.python.org/mailman3/lists/typing-sig.python.org/