t = Table('t', metadata, Column('id', Integer, primary_key=True), Column(
    'state1', String(10)), Column('state2', String(10)))
obj1 = Model()
obj1.state1 = 'value1-1'
obj1.state2 = 'value2-1'
session.add(obj1)
session.commit()
obj_id = obj1.id
session.expunge_all()
obj2 = Model()
obj2.id = obj_id
obj2.state1 = 'value1-2'
obj3 = session.merge(obj2)
session.commit()
print(obj3 is obj1, obj3 is obj2)
print(obj3.state1, obj3.state2)
Can SQLAlchemy's session.merge() update its result with newer data from the database?