YoVDO

Enhancing Decorators with Type Annotations - Techniques and Best Practices

Offered By: EuroPython Conference via YouTube

Tags

Python Courses Type Annotations Courses Mypy Courses Static Type Checking Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques and best practices for enhancing decorators with type annotations in this 24-minute conference talk from EuroPython 2024. Dive into the power of decorators as syntax sugar for wrapping and enhancing functions, while addressing common challenges in their usage. Learn how to leverage proper type hints to improve decorator clarity, enabling static type checkers like mypy and pyright IDEs to catch errors early and guide development. Master practical implementations of type definitions using advanced typing features such as TypeVarTuple, Protocol, ParamSpec, Concatenate, and Type Parameter Syntax. Gain insights on making your Python projects more robust and reducing debugging time through enhanced decorator type annotations.

Syllabus

Enhancing Decorators with Type Annotations: Techniques and Best Practices — Koudai Aono


Taught by

EuroPython Conference

Related Courses

Type Annotations in Python 3 - Whats, Whys & Wows!
EuroPython Conference via YouTube
Don't Start with a Database
EuroPython Conference via YouTube
Getting Started with Mypy and Type Checking
EuroPython Conference via YouTube
Learning the Ropes - Understanding Python Generics
EuroPython Conference via YouTube
Writing Good Python
EuroPython Conference via YouTube