code: def assign_current_image(self, image):
      self.current_image = image
      self.id_live_preview += 1
  
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 16 for calling the State obj's underlying member method code with example usage: obj.assign_current_image(image) without return types