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
@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.
The text was updated successfully, but these errors were encountered:
@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.
The text was updated successfully, but these errors were encountered: