class_docstr: Class describing single task (job)
      
class_docstr_tok: ["Class","describing","single","task","(","job",")"]
docstr: Waits for the task
docstr_tok: ["Waits","for","the","task"]
code: def wait(self):
      """Waits for the task"""
      if not self.finished:
          self.lock.acquire()
          self.lock.release()
  
imports: import os
  import threading
  import logging
  import inspect
  import sys
  import types
  import time
  import atexit
  from .None import transport
  from .None import auto
  from .None import common
  import subprocess
label_desc: Use image node_id 4 for calling the _Task obj's underlying member method code with example usage: obj.wait() without return types