You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create an extension for dataclass based classes #596
@dataclasses.dataclass can be used from python3.7, it acts a bit like @attr.s, so adding support for it shouldn't be too complicated.
Also I realize that there are many modules that converts class variables into instance variables (pydantic, dataclasses, attrs, django models, and others), so there is probably something to do to avoid to much code duplications.
Activity
tristanlatr commentedon Jun 10, 2023
Same goes for namedtuples.
tristanlatr commentedon Jun 10, 2023
And eventually the datatclass decorator?