pyiron_snippets.has_post module
- class pyiron_snippets.has_post.AbstractHasPost(name, bases, namespace, /, **kwargs)[source]
Bases:
HasPost,ABCMeta
- class pyiron_snippets.has_post.HasPost[source]
Bases:
typeA metaclass for adding a __post__ method which has a compatible signature with __init__ (and indeed receives all its input), but is guaranteed to be called only _after_ __init__ is totally finished.
Based on @jsbueno’s reply in [this discussion](https://discuss.python.org/t/add-a-post-method-equivalent-to-the-new-method-but-called-after-init/5449/11)