code: def delete_index_document(
      self,
      index: str,
      id: str,
  ):
      with self.error_handling(index=index):
          if self.__client__.exists(
              index=index,
              id=id,
          ):
              self.__client__.delete(
                  index=index,
                  id=id,
                  refresh=True,
              )
  
imports: import dataclasses
  from typing import Any, Dict, Iterable, List, Optional, Set, Tuple
  from opensearchpy import OpenSearch, helpers
  from opensearchpy.exceptions import NotFoundError, OpenSearchException, OpenSearchWarning, RequestError
  from opensearchpy.helpers import BulkIndexError
  from argilla.server.daos.backend import query_helpers
  from argilla.server.daos.backend.base import BackendErrorHandler, IndexNotFoundError
  from argilla.server.daos.backend.client_adapters.base import IClientAdapter
  from argilla.server.daos.backend.metrics.base import ElasticsearchMetric
  from argilla.server.daos.backend.search.model import BaseQuery, SortableField, SortConfig
  from argilla.server.daos.backend.search.query_builder import HighlightParser, OpenSearchQueryBuilder
label_desc: Use image node_id 21 for calling the OpenSearchClient obj's underlying member method code with example usage: obj.delete_index_document(index, id) without return types