Python dataclasses were added in 3.7. This module provides a decorator and functions for automatically adding generated special methods such as __init__() and __repr__() to user-defined classes.
Python dataclasses were added in 3.7. This module provides a decorator and functions for automatically adding generated special methods such as __init__() and __repr__() to user-defined classes.