Convert Theme class to a dataclass #97
Labels
enhancement ✨
New feature or request
investigate 🔍
Needs looking into
on hold 🛑
This is not likely to be addressed soon
Is your feature request related to a problem? Please describe.
The Theme class is very data focused, resulting in lots of attribute boilerplate.
Describe the solution you'd like
Consider using the dataclasses.dataclass decorator to simplify it's implementation.
N.B. this may only be supported in 3.7 onwards
Consider using a similar decorator for GPTheme (maybe attr.s)
The text was updated successfully, but these errors were encountered: