Overview
Explore the power of duck typing and static typing in Python through this 45-minute conference talk from EuroPython 2022. Delve into the basics of duck typing in Python, understand how `__dunder__` methods support Pythonic code, and discover how `typing.Protocol` bridges the gap in PEP 484-Type Hints. Learn to properly annotate code that leverages the flexibility of duck typing, and gain insights from the Go community's experience to create effective Protocols. Uncover why your favorite Python ABC might not be the ideal foundation for a useful Protocol.
Syllabus
`typing.Protocol`: type hints as Guido intended - presented by Luciano Ramalho
Taught by
EuroPython Conference