Skip to content

Advanced Typing: TypeVars, Generics, and Protocols

Short Talk at 2:06PM EDT

So we've heard about Python type annotations, but let's get into the gritty bits around typing.TypeVar bounding (inclusive polymorphism), typing.Generic (parameterized types), and typing.Protocol (interfaces) to learn how we can leverage types for structural subtyping (static duck typing).

Slides for this talk are available at:

Presented by

Chris Volny