def get_links_setup(self):
		'''Returns setup for documents related to this doctype.

		This method will return the `links_setup` property in the
		`[doctype]_links.py` file in the doctype folder'''
		try:
			module = load_doctype_module(self.name, suffix='_links')
			return frappe._dict(module.links)
		except __HOLE__:
			return frappe._dict()
dataset/ETHPy150Open frappe/frappe/frappe/model/meta.py/Meta.get_links_setup