code: def restore(self, snapshot_file: str):
      self._docs = DocumentArray[TextDocWithId].load_binary(
          snapshot_file
      )
      for doc in self._docs:
          self._docs_dict[doc.id] = doc
      self.logger.warning(
          f"Restoring from {snapshot_file} with {len(self._docs)} documents"
      )
      self.logger.warning(
          f"Restoring with order {[d.text for d in self._docs]}"
      )
  
file_path: jina/tests/integration/stateful/stateful_snapshot_exec/executor.py
imports: from jina import DocumentArray, Executor, requests
  from jina.serve.executors.decorators import write
  import random
  from typing import Dict, List
  import os
  from docarray.documents import TextDoc
label_desc: Use image node_id 6 for calling the MyStateExecutor obj's underlying member method code with example usage: obj.restore(snapshot_file) without return types