Build a list of treeview nodes from the child nodes.
()
| 613 | @blueprint.route("/nodes/", endpoint="nodes") |
| 614 | @pga_login_required |
| 615 | def get_nodes(): |
| 616 | """Build a list of treeview nodes from the child nodes.""" |
| 617 | nodes = [] |
| 618 | for submodule in current_blueprint.submodules: |
| 619 | nodes.extend(submodule.get_nodes()) |
| 620 | |
| 621 | return make_json_response(data=nodes) |
| 622 | |
| 623 | |
| 624 | def form_master_password_response(existing=True, present=False, errmsg=None, |
nothing calls this directly
no test coverage detected