Re: [sqlalchemy] NoneType not callable exception

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

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread bill . adams
by( Person.name ) print results.count() print 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 bee

Re: [sqlalchemy] NoneType not callable exception

2016-02-19 Thread Bill Adams
o 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/sqlalchemy. > For more options, visit https://

[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 "/home/bill/.virtualenvs/rrwr-sqla/lib/py