Open
Description
If PEP 681 is accepted we would be able to simplify the generated code by removing the dataclasses decorator and then implictly make betterproto.Message
s be dataclasses by defining __init_subclass__
and retain the typed constructor:
def __init_subclass__(cls) -> None:
dataclasses.dataclass(eq=False, repr=False)(cls)
I think this would be a nice readabilty improvement.