Python dataclasses will save you HOURS, also featuring attrs

Опубликовано: 21 Сентябрь 2024
на канале: mCoding
894k
36k

Get rid of boilerplate writing classes using dataclasses!

In this video we learn about dataclasses and how to use them, as well as the related attrs library that dataclasses were based on.

Note: As of Python 3.10 dataclasses DO support slots.

― mCoding with James Murphy (

Source code:
attrs library:

SUPPORT ME
---------------------------------------------------
Patreon:
Paypal:
Other donations:

BE ACTIVE IN MY COMMUNITY
---------------------------------------------------
Discord:
Github:
Reddit:
Facebook: