Glossary

Dataclass

A Python decorator (`@dataclass`) that automatically generates `__init__`, `__repr__`, `__eq__`, and other methods for classes that primarily store data. Reduces **boilerplate**. (Ch. 5)

Learn More

Related Terms