Glossary: Refactoring and Clean Code
dataclass
Also written: dataclasses, @dataclass, frozen dataclass, frozen=True
A Python decorator that writes `__init__` and other methods for a class that mostly holds values. With `frozen=True` the object is read-only, which suits a parameter object like `ReportOptions`.