Contribute Media
A thank you to everyone who makes this possible: Read More

What Is the `Annotated` Type?

Description

PEP 593 introduced the Annotated Type in Python 3.9, allowing typing metadata. In 2023, usage of the type by popular libraries has significantly increased. For example, FastAPI and Pydantic have fully adopted the Annotated type and recommend it as the preferred syntax for their functionality. In this talk, we will explore usage of this type in open source projects and take a look at how it might be used in your code.

Details

Improve this page