class_docstr: This class has pool interface but performs all work in calls to get_results. It is sometimes convenient
  to substitute a real pool with this dummy implementation.
  
  Found this class useful when profiling worker code. When on a separate thread, the worker code was not observable
  (out of the box) by the profiler
code: def __init__(self, workers=None):
      # We just accumulate all ventilated items in the list
      self._ventilator_queue = []
  
      # get_results will populate this list
      self._results_queue = []
      self._worker = None
      self._ventilator = None
      self.workers_count = 1
  
file_path: petastorm/petastorm/workers_pool/dummy_pool.py
imports: from time import sleep
  from petastorm.workers_pool import EmptyResultError
label_desc: Use image node_id 1 to create a new DummyPool object from inherited base classes: object with example: obj = DummyPool(workers)