This repository contains a talk and some demos (demo\v1\, demo\v2\) for exploring the new features of Pydantic v2.
Compare the how to use v2 by looking at the different scripts with the same names in folder demo/v1 and demo/v2.
The material in the slides and demo are based on the content from the following sources:
- Pydantic v2 Plan (accessed 22.08.2023)
- Terrence Dorsey and Samuel Colvin Pydantic v2 Pre Release (accessed 22.08.2023)
- Prashanth Rao, The Data Quarry, Obtain a 5x speedup for free by upgrading to Pydantic v2 (accessed 22.08.2023)
- Yaakov Bressler in Medium (accessed 22.08.2023)
- Samuel Colvin at PyCon US 2023 (accessed 22.08.2023)
- Configuring mypy with Pydantic (accessed 22.08.2023)