What are data classes and how are they different from common classes?
With PEP 557 data classes are introduced into python standard library.
With PEP 557 data classes are introduced into python standard library.
Python 3.7 was released a while ago, and I wanted to test some of the fancy new dataclass+typing features. Getting hints to work right is easy enough, with both native types and those from the typing module: