def update(self, values):
        for k, v in six.iteritems(values):
            setattr(self, k, v)
Make the model object behave like a dict.
dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/models.py/ModelBase.update