@frappe.whitelist()
def get(module):
	data = get_data(module)

	out = {
		"data": data
	}

	return out
Returns data (sections, list of reports, counts) to render module view in desk:
dataset/ETHPy150Open frappe/frappe/frappe/desk/moduleview.py/get