

def get_childnodes(self, include_private=True, verify_parent=True):
    '\n        Return a list of childnodes.\n\n        :param include_private: ignore names starting with underscore.\n        :type include_private: bool\n        :param verify_parent: check that the parent matches the current node.\n        :type verify_parent: bool\n        '

    def f(i):
        return (isinstance(i, Node) and ((not verify_parent) or (i.parent == self.node)))
    nodes = self._filter(include_private, f).values()
    return sorted(nodes, key=(lambda n: n._node_creation_counter))

dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py Inspector.get_childnodes/original