def configure(self, request):
        if 'config' in request.params:
            result = self.daq_server.configure(request.params['config'])
            if not result:
                self.sendResponse(Status.OK)
            else:
                self.sendResponse(Status.OKISH, message=result)
        else:
            self.sendError('Invalid config; config string not provided.')
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/external/daq_server/src/daqpower/server.py/DaqControlProtocol.configure/original