def remove_references(self, name):
        to_remove = []
        for rname, response in self._responses.items():
            if name in response.get_referenced_compnames():
                to_remove.append(rname)

        for rname in to_remove:
            self.remove_response(rname)
Remove references to component `name`.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/hasresponses.py/HasResponses.remove_references