title: How to update sqlalchemy orm object by a python dict
body: <p>the dict's key names are mapping to the sqlalchemy object attrs</p>
  
  <p>ex:</p>
  
  <pre><code>class User(Base):
      __tablename__ = 'users'
  
      id = Column(Integer, primary_key=True)
      name = Column(String)
      fullname = Column(String)
      password = Column(String)
  </code></pre>
  
  <p>can update from id = 3, <code>{name: "diana"}</code> or id = 15, <code>{name: "marchel", fullname: "richie marchel"}</code></p>