Using python dataclasses as class builders is amazing. Python's dataclass provides a decorator and functions for automatically adding generated special methods such as __init__() and __repr__(), __eq__() etc.
If you are not using dataclasses in your project, you should definitely consider it.
#python #dataclass #programming #pythonprogramming
Ещё видео!