MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / get_nodes

Function get_nodes

web/pgadmin/browser/__init__.py:615–621  ·  view source on GitHub ↗

Build a list of treeview nodes from the child nodes.

()

Source from the content-addressed store, hash-verified

613@blueprint.route("/nodes/", endpoint="nodes")
614@pga_login_required
615def 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
624def form_master_password_response(existing=True, present=False, errmsg=None,

Callers

nothing calls this directly

Calls 3

make_json_responseFunction · 0.90
extendMethod · 0.80
get_nodesMethod · 0.45

Tested by

no test coverage detected