title: How to get a list from query in sqlalchemy
body: <p>when I do the following in python using sqlalchemy</p>
  
  <p><code>someVar = self.session.query(sometable.someVar).group_by(sometable.someVar).all()</code></p>
  
  <p>I get a list of one variable tuples like </p>
  
  <p><code>[(var1,), (var2,), ..]</code></p>
  
  <p>Is there a way of getting a flat list within sqlalchemy.
  I know how to flatten the list of tuple within python code, but that solution is bit clumsy.
  I am just wondering if this is possible.
  My goal is to get a list of distinct entries someVar from sometable.</p>