[sqlalchemy] .one is not returning a KeyedTuple, but a

2017-04-24 Thread Mark Jones
We are upgrading from 0.9.7 to 1.1.9 and I've run into a bit of a problem with the upgrade. I have a query which is based on a .select_from() and .join() so the mapping doesn't really exist from a single model. All of the fields have labels though and the result set produces the right

[sqlalchemy] Re: .one is not returning a KeyedTuple, but a

2017-04-25 Thread Mark Jones
I'm keying off hasattr(obj, 'keys') which is working. Still seems strange that it is returning a non-exported class though. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and