Python dataclasses

Published: 25 November 2020
on channel: redshiftzero
1,066
46

Dataclasses are a new feature in Python 3.7 that are useful when defining classes that have a lot of state or data (well, as the name dataclasses implies). In this video, we show how to define dataclasses, how they help reduce boilerplate code, and how to customize the methods that dataclasses generates.


Further reading:
Dataclass documentation: https://docs.python.org/3/library/dat...
PEP 557 defining dataclasses: https://www.python.org/dev/peps/pep-0...


Watch video Python dataclasses online without registration, duration hours minute second in high quality. This video was added by user redshiftzero 25 November 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,066 once and liked it 46 people.