class_docstr: Get content from SQLite database by document ids.
  
  Args:
      load_path: a path to local DB file
      join_docs: whether to join extracted docs with ' ' or not
      shuffle: whether to shuffle data or not
  
  Attributes:
      join_docs: whether to join extracted docs with ' ' or not
docstr: Get the contents of files, stacked by space or as they are.
  
  Args:
      doc_ids: a batch of lists of ids to get contents for
  
  Returns:
      a list of contents / list of lists of contents
code: def __call__(
      self, doc_ids: Optional[List[List[Any]]] = None, *args, **kwargs
  ) -> List[Union[str, List[str]]]:
      """Get the contents of files, stacked by space or as they are.
  
      Args:
          doc_ids: a batch of lists of ids to get contents for
  
      Returns:
          a list of contents / list of lists of contents
      """
      all_contents = []
      if not doc_ids:
          logger.warning(
              "No doc_ids are provided in WikiSqliteVocab, return all docs"
          )
          doc_ids = [self.get_doc_ids()]
  
      for ids in doc_ids:
          contents = [self.get_doc_content(doc_id) for doc_id in ids]
          if self.join_docs:
              contents = " ".join(contents)
          all_contents.append(contents)
  
      return all_contents
  
file_path: DeepPavlov/deeppavlov/vocabs/wiki_sqlite.py
imports: from logging import getLogger
  from typing import List, Any, Optional, Union
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.models.component import Component
  from deeppavlov.dataset_iterators.sqlite_iterator import SQLiteDataIterator
label_desc: Use image node_id 2 for calling the WikiSQLiteVocab obj's underlying member method code with example usage: obj.__call__(doc_ids) and returns: all_contents