code: def add_io_to_thread(self, thread_id, io_object):
      if thread_id in self.threads_io:
          self.threads_io[thread_id].add(id(io_object))
      else:
          self.threads_io[thread_id] = {id(io_object)}
      if self._io_has_canvas_figure(io_object):
          self.threads_io[thread_id].add(id(io_object.canvas.figure))
  
file_path: clearml/clearml/utilities/io_manager.py
label_desc: Use image node_id 2 for calling the IOCallsManager obj's underlying member method code with example usage: obj.add_io_to_thread(thread_id, io_object) without return types