code: def nextjob(self):
      if (
          shared.opts.live_previews_enable
          and shared.opts.show_progress_every_n_steps == -1
      ):
          self.do_set_current_image()
  
      self.job_no += 1
      self.sampling_step = 0
      self.current_image_sampling_step = 0
  
imports: import datetime
  import logging
  import threading
  import time
  from modules import errors, shared, devices
  from typing import Optional
label_desc: Use image node_id 10 for calling the State obj's underlying member method code with example usage: obj.nextjob() without return types