def get_expr_depends(self):
        pname = self.parent.name
        conn_list = []
        for obj in self._objectives.values():
            conn_list.extend([(c, pname)
                              for c in obj.get_referenced_compnames()])
        return conn_list
XXX: We need validator objects that define the required and optional fields.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/hasobjective.py/HasObjectives.get_expr_depends--crossover with--dataset/ETHPy150Open StackStorm/st2/st2common/st2common/services/triggers.py/_validate_trigger_type