Dataclasses Python

By Jaydeep Karale on youtube.com

More about this content:

Everything you need to know about Dataclasses in Python. -------------------------------- Concepts Explained -------------------------------- 1. What are Dataclasses ? 2. Normal class vs Dataclasses 3. How to create Dataclass ? 4. Why and how to use Dataclasses ? 5. Slots In Dataclasses 6. Asdict to convert data class to Python dictionary 7. Astuple to convert data class to Python Tuple 8. Using dataclass fields to get additional control over attributes 9. __post__init__ dunder method to perform post initialisation checks in dataclasses


Join related learning paths