What Is the `Annotated` Type?
Short Talk at 2:39 pm
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.