Yes that was what I meant by wrap dataclass in an __init_subclass__ method.
dataclass
__init_subclass__