Python Series track
Week 01
Week 1 — Type Hints & Dataclasses
Add static type information to Python code with type hints, use TypeVar for generic functions, model data with @dataclass, and define structural subtypes with Protocol.
Advanced Track5 topicsFree · open source
- Home
- Lectures
- Python Series
- Week 1 — Type Hints & Dataclasses
What this lesson covers
5 topics from the advanced track section of the Python Series track. Work through the source materials alongside these concepts.
- Annotations
- TypeVar
- Generic
- dataclass
- Protocol
Lesson materials
README, runnable examples and exercises for every Python Series lesson live in the open-source repository.
Open the source repositoryLearn this lesson with a mentor
Work through the Python Series track on your own, or join a guided cohort at our Pitampura campus and online.