class_docstr: A DataStore which relies on the GraphManager check pointing methods to communicate policies.
class_docstr_tok: ["A","DataStore","which","relies","on","the","GraphManager","check","pointing","methods","to","communicate","policies","."]
code: def save_policy(self, graph_manager):
      # TODO: it would be nice if restore_checkpoint accepted a checkpoint path as a
      # parameter. as it is, one cannot distinguish between checkpoints used for coordination
      # and checkpoints requested to a persistent disk for later use
      graph_manager.task_parameters.checkpoint_restore_path = (
          self.checkpoint_dir
      )
      graph_manager.save_checkpoint()
  
file_path: coach/rl_coach/data_stores/checkpoint_data_store.py
imports: import time
  import os
  from rl_coach.checkpoint import CheckpointStateReader
  from rl_coach.data_stores.data_store import SyncFiles
label_desc: Use image node_id 3 for calling the CheckpointDataStore obj's underlying member method code with example usage: obj.save_policy(graph_manager) without return types