Data Classes in python ๐(part-2)
In this Blog, Letโs discuss dataclass decorator parameters. We can control the features of the dataclass by passing arguments to dataclass decorator .
In this Blog, Letโs discuss dataclass decorator parameters. We can control the features of the dataclass by passing arguments to dataclass decorator .
Letโs start Data Classes ๐that uses dataclasses module
In a normal concrete class, we want to define a constructor and __repr__ to make the custom representation of the object when object is passed as parameter to print() function.
Some days back, I was just digging deep into python lists and i found some thing really interesting and confusing at the same time. โI will make you confusing tooโ . Chalooo, Letโs start !โฆ.