def METHOD_NAME():
	details = frappe.db.get_all("Item", fields=["name", "item_name", "item_group"])
	item_details = {}
	for d in details:
		item_details.setdefault(
			d.name, frappe._dict({"item_name": d.item_name, "item_group": d.item_group})
		)
	return item_details