Рет қаралды 8,076
Dataclasses in Python simplify the creation of data structures with minimal code, and gives you a lot of useful utility right out of the box.
🔗 docs.python.org/3/library/dat...
📚 Chapters
00:00 Introduction
00:25 What is a Dataclass?
01:06 Create Data Structures with Less Code
02:34 Descriptive REPR
03:30 Built-in Equality Check
04:11 Fields and Default Values
06:19 Frozen Objects
07:16 Ordered Objects
08:21 Convert To and From Dict
#pixegami #python