code: def add_to_queue(self, **kwargs):
      kwargs = _replace_keys(kwargs, self.replacements)
      try:
          self.queue_lock.acquire()
          self.queue.append(kwargs)
          idx = len(self.queue) - 1
      finally:
          self.queue_lock.release()
      return idx
  
imports: from __future__ import print_function
  import json
  import sys
  import socket
  import itertools
  from .None import functions
  from .None import parallel
  import math
  import multiprocessing
  import threading
label_desc: Use image node_id 10 for calling the EvalManager obj's underlying member method code with example usage: obj.add_to_queue() and returns: idx