title: How to update all object columns in SqlAlchemy?
body: <p>I have a table of Users(more than 15 columns) and sometimes I need to completely update all the user attributes.For xample, I want to replace</p>
  
  <p><code>user_in_db = session.query(Users).filter_by(user_twitter_iduser.user_twitter_id).first()</code>
  with some other object.</p>
  
  <p>I have found the following solution : </p>
  
  <pre><code>session.query(User).filter_by(id=123).update({"name": user.name})
  </code></pre>
  
  <p>but I fell that writing all 15+ attributes is error-prone and there should exist a simpler solution.</p>