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
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()?
The text was updated successfully, but these errors were encountered:
There is nothing like a post_init no, however using a custom _default_* method you can look up the value of other members when building the default value.
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()
?The text was updated successfully, but these errors were encountered: