Python Test

attrs and dataclasses - Hynek Schlawack

06.07.2022 - By Brian OkkenPlay

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

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. Full Transcript Special Guest: Hynek Schlawack.

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 from Python Test