atom icon indicating copy to clipboard operation
atom copied to clipboard

Is there not an __post__init or some way to initialize a member based on the values of other members?

Open metaperl opened this issue 2 years ago • 1 comments
trafficstars

The default value example shows numerous ways to initialize a member. But what if you want to initialize it based on the other values of the object being instantiated?

Does Atom have something like dataclass' __post__init()?

metaperl avatar Jan 27 '23 08:01 metaperl