Thanks to Nikita for presenting yesterday!

Nikita Sobolev, Inline Syntax for TypedDict

Slides

Recording


Notes and followups:

  • Nikita talked about possible syntaxes for inline TypedDict, dict[] vs TypedDict[], aliasing, and runtime concerns.

  • Question: What are some real-world use cases where we would want an inline TypedDict instead of a named TypedDict? To what extent do people want to reuse TypedDict fields (“inheritance”)?

  • Nesting: Should a nested TypedDict be written as a raw dictionary literal or be wrapped with `TypedDict[{...}]`?

  • How feasible are generic inline TypedDicts at runtime?


The recording, slides, meeting notes, and chat transcript are in the running meetup notes doc: https://docs.google.com/document/d/17iqV7WWvB0IwA43EPlIqlUS6Xuvk08X3sEudAA-gQIo/edit?usp=sharing

If you're interested in presenting next time, please shoot me an email.

Best,
Pradeep