Returns the list of children nodes for the current nodes. Override this function for special cases only. :param args: :param kwargs: Parameters to generate the correct set of tree node. :return: List of the children nodes
(self, *args, **kwargs)
| 351 | ) |
| 352 | |
| 353 | def get_children_nodes(self, *args, **kwargs): |
| 354 | """ |
| 355 | Returns the list of children nodes for the current nodes. Override this |
| 356 | function for special cases only. |
| 357 | |
| 358 | :param args: |
| 359 | :param kwargs: Parameters to generate the correct set of tree node. |
| 360 | :return: List of the children nodes |
| 361 | """ |
| 362 | children = [] |
| 363 | |
| 364 | for module in self.blueprint.submodules: |
| 365 | children.extend(module.get_nodes(*args, **kwargs)) |
| 366 | |
| 367 | return children |
| 368 | |
| 369 | |
| 370 | class PGChildNodeView(NodeView): |