
July 18, 2022
5:39 a.m.
On 7/7/22 09:01, Steve Jorgensen wrote:
Actually, maybe these are fundamentally incompatible? `@dataclass` is a decorator, so it acts on the class after it was already defined, but `Enum` acts before that when `@dataclass` cannot have not generated the `__init__` yet. Right?
Correct. -- ~Ethan~