def update(self, data):
        for key, value in data.items():
            setattr(self, key, value)
test update from an expression.
dataset/ETHPy150Open transcode-de/durga/durga/element.py/Element.update--crossover with--dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_update.py/UpdateTest.test_update_to_expression