def replace_constraints(self, old_cns, new_cns):
        parent = self.parent()
        if isinstance(parent, WxConstraintsWidget):
            parent.replace_constraints(old_cns, new_cns)
Saves attachment to the report folder and returns file name
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_constraints_widget.py/WxConstraintsWidget.replace_constraints--crossover with--dataset/ETHPy150Open allure-framework/allure-python/allure/common.py/AllureImpl._save_attach