def METHOD_NAME(warehouse):
	from frappe.utils.nestedset import get_descendants_of
	children = get_descendants_of("Warehouse", warehouse, ignore_permissions=True, order_by="lft")
	return children + [warehouse]  # append self for backward compatibility