async def corofunc():
            nonlocal called
            called = True
            return "some arbitrary value"
def delete(arg=None):
	frappe.get_doc("Communication", frappe.form_dict['name']).delete()