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 !….
Hey there! I created FAUN to help developers learn and grow by keeping them up with what matters. Discover an effortless, straightforward way to keep up with technologies, right from your inbox and FOR FREE.
We hate spam and we will never spam you.
Already have an account? Then please sign in.