Listen "189: attrs and dataclasses - Hynek Schlawack"
Episode Synopsis
In Python, before dataclasses, we had attrs. Before attrs, it wasn't pretty.The story of attrs and dataclasses is actually intertwined. They've built on each other. And in the middle of it all, Hynek.Hynek joins the show today to discuss some history of attrs and dataclasses, and some differences.If you ever need to create a custom class in Python, you should listen to this episode.Links:attrs documentationHistory of attrs and introduction to attrs namespacecattrs: Complex custom class converters for attrs. — python-attrsPEP 557 – Data ClassesPEP 681 – Data Class Transforms
More episodes of the podcast Test & Code
238: So Long, and Thanks for All the Fish
15/08/2025
237: FastAPI Cloud - Sebastián Ramírez
11/08/2025
236: Git Tips for Testing - Adam Johnson
30/07/2025
235: pytest-django - Adam Johnson
22/07/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.