def get_context(context):
	doctype = frappe.local.form_dict.doctype
	context.parents = [{"name":"me", "title":_("My Account")}]
	context.update(get_list_context(context, doctype) or {})
	context.doctype = doctype
	context.txt = frappe.local.form_dict.txt
	context.update(get(**frappe.local.form_dict))
Returns context for a list standard list page.
dataset/ETHPy150Open frappe/frappe/frappe/templates/pages/list.py/get_context