title: How to get column names from SQLAlchemy result (declarative syntax)
body: <p>I am working in a pyramid project and I've the table in SQLAlchemy in declarative syntax</p>
  
  <pre><code>"""models.py"""
  class Projects(Base):
      __tablename__ = 'projects'
      __table_args__ = {'autoload': True}
  </code></pre>
  
  <p>I get the results by using</p>
  
  <pre><code>""""views.py"""
  session = DBSession()
  row_data = session.query(Projects).filter_by(id=1).one()
  </code></pre>
  
  <p>How can I get the column names from this result.</p>
  
  <p>PS: I am unable to use <a href="http://www.mail-archive.com/sqlalchemy@googlegroups.com/msg02188.html" rel="noreferrer">this</a> method since I am using the declarative syntax.</p>