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/rack/rack/openstack/common/db/sqlalchemy/models.py/ModelBase.update