Re: [sqlalchemy] NoneType not callable exception

2016-02-23 Thread bill . adams
(Person(name='foo')) > > session.add(Person(name='bar')) > > > > session.commit() > > > > results = session.query( > > Person.name.label('person'), > > ).add_entity( > > Person > > ).order_by( > > Person.name > >

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread bill . adams
results.limit(1).offset(1).all() Thanks, Bill On Friday, February 19, 2016 at 11:20:44 PM UTC-5, Bill Adams wrote: > > Yes, that is what I was trying to describe. I've been trying to create a > simple test case but have as of yet been unable to reproduce the problem in > a simpler en

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread Bill Adams
> "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sqlalchemy+unsubscr...@googlegroups.com. > To post to this group, send email to sqlalchemy@googlegroups.com. > Visit this group at https://groups.google.com/group/sqlalc

[sqlalchemy] NoneType not callable exception

2016-02-19 Thread bill . adams
My company is in the process of upgrading one of our applications from SQLAlchemy 0.9 to 1.0.12. The process is mostly complete but we are getting exceptions seemingly at random for some of our more complicated queries. The relevant stack trace: File