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

Function get_browser_tree_state

web/pgadmin/settings/__init__.py:231–242  ·  view source on GitHub ↗

Get the browser tree state.

()

Source from the content-addressed store, hash-verified

229 methods=['GET'])
230@pga_login_required
231def get_browser_tree_state():
232 """Get the browser tree state."""
233
234 try:
235 data = get_setting('browser_tree_state')
236 except Exception as e:
237 current_app.logger.exception(e)
238 return internal_server_error(errormsg=str(e))
239
240 return Response(response=data,
241 status=200,
242 mimetype="application/json")
243
244
245@blueprint.route("/save_file_format_setting/",

Callers

nothing calls this directly

Calls 2

internal_server_errorFunction · 0.90
get_settingFunction · 0.85

Tested by

no test coverage detected