def update(self, id, data):
        updated = objects.registry.Sensor.update_and_save(self.context,
                                                          id, data)
        return updated
Modify the sensor.
dataset/ETHPy150Open openstack/solum/solum/api/handlers/sensor_handler.py/SensorHandler.update