astromodels.core.node_type module
- class astromodels.core.node_type.NodeBase(_name: str, _parent: Optional[Type[ForwardRef('NodeBase')]] = None, _children: Dict[str, Type[ForwardRef('NodeBase')]] = <factory>, _path: Optional[str] = '')[source]
Bases:
object
- property is_leaf: bool
is this a a leaf of the tree
- property is_root: bool
is this the root of the tree
- property name: str
- property path: str