def _load_config(self):
        """Load the workflow stage config from the database."""
        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]
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 ]
Load the workflow stage config from the database.