filmov
tv
Pydantic on data imports? Python strongly typed model verification! Advent of code 2021

Показать описание
Following on from yesterdays tinydb, what we want to do is improve data quality in our applications, and this is where something ly Pydantic can come into play. It allows us to model our data without worrying too much about where it came from, but in turn, it provides a level of data reformatting (e.g. type correction), as well as validation on the import of data into the application.