@classmethod
    def update(cls, instance, data):
        instance.update(data)
        db().add(instance)
        db().flush()
        return instance
Update existing instance with specified parameters
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/objects/base.py/NailgunObject.update