MENU

Fun & Interesting

What Is the `Annotated` Type? [PyOhio 2023]

PyOhio 592 1 year ago
Video Not Working? Fix It Now

Talk by Daniel Schelkoph at PyOhio 2023: 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. PyOhio talk listing: https://www.pyohio.org/2023/talks/what-is-the-annotated-type

Comment