def get_doctype_info(module):
	doctype_info = frappe.db.sql("""select "doctype" as type, name, description,
		ifnull(document_type, "") as document_type, custom as custom,
		issingle as issingle
		from `tabDocType` where module=%s and istable=0
		order by custom asc, document_type desc, name asc""", module, as_dict=True)

	for d in doctype_info:
		d.description = _(d.description or "")

	return doctype_info
Constructor for Source
dataset/ETHPy150Open frappe/frappe/frappe/desk/moduleview.py/get_doctype_info--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/atom/__init__.py/Source.__init__