def _workflow_changed(self, oldwf, newwf):
        if newwf is not None:
            newwf.parent = self
callback when new workflow is slotted
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/driver.py/Driver._workflow_changed