class_docstr: A context for saving checkpoint upon preemption.
class_docstr_tok: ["A","context","for","saving","checkpoint","upon","preemption","."]
code: def enter_preemption_save_context(self):
      self._in_preemption_save_context = True
  
file_path: tensorflow/tensorflow/python/checkpoint/checkpoint_context.py
imports: import contextlib
  import threading
label_desc: Use image node_id 2 for calling the PreemptionSaveContext obj's underlying member method code with example usage: obj.enter_preemption_save_context() without return types