class_docstr: Stores data in-memory. It's ephemeral and cannot be saved to disk.
docstr: Deletes all documents with matching document_ids from the DocumentStore.
  :param object_ids: The object_ids to delete.
docstr_tok: ["Deletes","all","documents","with","matching","document_ids","from","the","DocumentStore",".",":","param","object_ids",":","The","object_ids","to","delete","."]
code: def delete_documents(self, document_ids: List[str]) -> None:
      """
      Deletes all documents with matching document_ids from the DocumentStore.
      :param object_ids: The object_ids to delete.
      """
      for doc_id in document_ids:
          if doc_id not in self.storage.keys():
              continue
          del self.storage[doc_id]
  
imports: import re
  from typing import Literal, Any, Dict, List, Optional, Iterable
  import logging
  import numpy
  from haystack_bm25 import rank_bm25
  from tqdm.auto import tqdm
  from haystack import default_from_dict, default_to_dict
  from haystack.dataclasses import Document
  from haystack.document_stores.types import DuplicatePolicy
  from haystack.utils.filters import document_matches_filter, convert
  from haystack.document_stores.errors import DuplicateDocumentError, DocumentStoreError
  from haystack.utils import expit
label_desc: Use image node_id 7 for calling the InMemoryDocumentStore obj's underlying member method code with example usage: obj.delete_documents(document_ids) without return types