[Python-ideas] Make dataclass aware that it might be used with Enum