docstr: :param args: The worker will sleep for this time (seconds) until returned
docstr_tok: [":","param","args",":","The","worker","will","sleep","for","this","time","(","seconds",")","until","returned"]
code: def __init__(self, worker_id, publish_func, args):
      """
      :param args: The worker will sleep for this time (seconds) until returned
      """
      super(SleepyDoingNothingWorker, self).__init__(
          worker_id, publish_func, args
      )
      self._sleep = args
  
imports: from time import sleep
  from petastorm.workers_pool.worker_base import WorkerBase
label_desc: Use image node_id 1 to create a new SleepyDoingNothingWorker object from inherited base classes: WorkerIdGeneratingWorker with example: obj = SleepyDoingNothingWorker(worker_id, publish_func, args)