def METHOD_NAME():
	# order in desc since deleting press data takes the most time
	doctype = "Team Deletion Request"
	deletion_requests = frappe.get_all(
		doctype,
		filters={"status": ("in", ["Deletion Verified", "Processing Deletion"])},
		pluck="name",
		order_by="creation desc",
	)
	for name in deletion_requests:
		try:
			tdr = frappe.get_doc(doctype, name)
			tdr.delete_team_data()
			frappe.db.commit()
		except Exception:
			continue