Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

`typing.Protocol` - Type Hints as Guido Intended

EuroPython Conference via YouTube

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

Reviews

Start your review of `typing.Protocol` - Type Hints as Guido Intended

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.