code: def _load_config(self):
          
          pb_key = SchedulingObject.get_key(PB_KEY, self._pb_id)
          stages = DB.get_hash_value(pb_key, 'workflow_stages')
          stages = ast.literal_eval(stages)
          return stages[self._index]
docs: Load the workflow stage config from the database.