2022-05-26 –, Python Room
We're always using type hints in our code, but when working with microservices or when doing some integrations I started noticing that type hints alone are not enough to help us. In this presentation, I'll try to show my experience of how I moved and what benefits I got from using dict type hints to TypedDict, then to Dataclasses, and lastly to Pydantic. At the end of the day, it helped me to save a lot of time not only when implementing features, but also with the maintenance of already implemented parts of code.
python, web dev, best practices
Bachelor's degree in IT and Master's degree in Information and IT Security.
Senior software developer and team lead of 14 Python tamers in Corner Case Technologies.
Python evangelist and AWS certified architect.
I still have a toy snake on my work table