def WaitForCallable(self):
    with self._ready_condition:
      self._thread_id = thread.get_ident()
      self._thread_id_ready = True
      self._ready_condition.notify()
      while not self._callable_ready:
        self._ready_condition.wait()
      return self._target, self._args, self._kwargs
Sets the thread ID and returns the callable and args for this request.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/runtime/background.py/_BackgroundRequest.WaitForCallable