def get(self, id):
        wf = objects.registry.Workflow.get_by_uuid(self.context, id)

        # Set wf status from that of the corresponding assembly's status
        assembly = objects.registry.Assembly.get_by_id(self.context,
                                                       wf.assembly)
        wf.status = assembly.status
        return wf
Return a workflow.
dataset/ETHPy150Open openstack/solum/solum/api/handlers/workflow_handler.py/WorkflowHandler.get