Master Dataclasses in Python Part 1 - Basic Structure and Validation

preview_player
Показать описание
In this video series, I will show you how dataclasses work in Python.

▬▬▬▬▬▬ 📙 Resources 📙 ▬▬▬▬▬▬
► Dataclasses - Python Documentation

► Dataclasses Blog

▬▬▬▬▬▬ ⏰ Timestamps ⏰ ▬▬▬▬▬▬
00:00 - Introduction
02:05 - Getting Started with Dataclasses
03:35 - Creating Instances
06:45 - Basic Validation Features

▬▬▬▬▬▬ ❤️ Want to Support Us? ❤️ ▬▬▬▬▬▬
► Subscribe to our YouTube Channel
Рекомендации по теме
Комментарии
Автор

I guess you are from Germany. In English we say BM(double U), but in German it's it's pronounced as 'BM way', which you did, while speaking English. I smiled when I heard it 😃

gibrailhassan
Автор

What is a decorator? Specifically, here it was @dataclass, does it just signal to python that class isn't a normal class but a data class?

cjb
Автор

The difference between data classes and regular dictionaries is the easy redefinition of magic clases right?

anxo_
Автор

I think it would be worth emphasizing that validation does not include type checks. Also worth noting: the built-in `dataclasses` module is a very simple thing that has some more advanced brothers and sisters, ie. `attrs` or `pydantic` packages.

wodny
welcome to shbcf.ru