I all,
I got a KeyedTuple error that I don't know what it means or how to solve it.
Could anyone give me some help?
Thanks.
I'm using SQLAlchemy-0.9.3-py2.6.egg
ProgrammingError: (ProgrammingError) can't adapt type 'KeyedTuple' 'SELECT
unita_aziendale.id AS unita_aziendale_id,
SqlAlchemy returns column results as a `KeyedTuple`. It's similar to
`collections.namedtuple` in the standard library
Looking at your code, my guess is that you had something like this:
ids = session.query(Model.id).filter(...).all()
and are then passing those ids into a query like this: