def combine_common_sections(data):
	sections = []
	sections_dict = {}
	for each in data:
		if each["label"] not in sections_dict:
			sections_dict[each["label"]] = each
			sections.append(each)
		else:
			sections_dict[each["label"]]["items"] += each["items"]

	return sections
Combine sections declared in separate apps.
dataset/ETHPy150Open frappe/frappe/frappe/desk/moduleview.py/combine_common_sections