code: def preemption_save_context():
      _preemption_save_context.enter_preemption_save_context()
      try:
          yield
      finally:
          _preemption_save_context.exit_preemption_save_context()
  
file_path: tensorflow/tensorflow/python/checkpoint/checkpoint_context.py
imports: import contextlib
  import threading
label_desc: Use image node_id 1 for calling a global function with example usage: preemption_save_context() without return types