code: def __exit__(self, exc_type, exc_val, exc_tb):
      if exc_type is None:
          self.exp.finish("completed")
      elif exc_type == KeyboardInterrupt:
          self.exp.finish("interrupted")
      else:
          self.exp.finish("crashed", str(exc_val))
  
imports: from typing import TYPE_CHECKING
label_desc: Use image node_id 3 for calling the ExperimentWatcher obj's underlying member method code with example usage: obj.__exit__(exc_type, exc_val, exc_tb) without return types