code: def call_save(self):
      print("calling save")
  
      # if save function was passed, call it
      if self.get_checkpoint_save_function() is not None:
          save_fx, kwargs = self.get_checkpoint_save_function()
          save_fx(**kwargs)
  
          # if we're here, the job didn't finish and we were given a save function
          # if we were given a load function, then schedule the program again and pass in the load function
          if self.get_checkpoint_load_function() is not None:
              job_id = os.environ["SLURM_JOB_ID"]
              cmd = "scontrol requeue {}".format(job_id)
  
              print("\nrequeing job {}...".format(job_id))
              result = call(cmd, shell=True)
              if result == 0:
                  print("requeued exp ", job_id)
              else:
                  print("requeue failed...")
  
      # stop program
      os._exit(0)
  
imports: import datetime
  import os
  import signal
  import sys
  import time
  import traceback
  from subprocess import call
  from .argparse_hopt import HyperOptArgumentParser
label_desc: Use image node_id 7 for calling the SlurmCluster obj's underlying member method code with example usage: obj.call_save() without return types