def data(cls):
    "A class decorator for the dataclass function."
    return dataclass(cls.__name__, cls.__doc__, cls.PARAMS, cls.PROPERTIES)
A class decorator for the dataclass function.
recipes/Python/577718_Dynamic_Class/recipe-577718.py