

def get(self, id):
    'Return a workflow.'
    wf = objects.registry.Workflow.get_by_uuid(self.context, id)
    assembly = objects.registry.Assembly.get_by_id(self.context, wf.assembly)
    wf.status = assembly.status
    return wf

dataset/ETHPy150Open openstack/solum/solum/api/handlers/workflow_handler.py WorkflowHandler.get/original