Python Bytes cover image

#291 Wait, you have how many licenses?!?

Python Bytes

00:00

Data Classes - What Are They?

i really like data classes. I find myself kind of, when i'm on the edge of using a data classm like, maybe pidantic. But frozen is a cool option. You can add slots. Slots make so many things awesome in terms of a lower memory usage,. faster attribute access, all kinds of things. And if it's just slots equal true on the class definition, that's ininice tet are we talking about? A tray hunter's a a python trainer and he came up this cool tool on his python morsel site called the undata class. Any theideas was thinking, like, what would be the equivalent of a dato class if you didn

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app