[sqlalchemy] Re: query_chooser and relationship queries

2011-06-24 Thread Arthur Kopatsy
Awesome. Does that mean the sqlalchemy example is wrong. It currently has: if callable(value): value = value() Should it be something like that? if value == None and bind.callable != None: |verificationTokenExpiry = Column(String) value =

Re: [sqlalchemy] Re: query_chooser and relationship queries

2011-06-24 Thread Michael Bayer
On Jun 24, 2011, at 1:26 PM, Arthur Kopatsy wrote: Awesome. Does that mean the sqlalchemy example is wrong. It currently has: if callable(value): value = value() yeah thats out of date, usage was changed in 0.7. Should it be something like that? if value

[sqlalchemy] Re: query_chooser and relationship queries

2011-06-24 Thread Arthur Kopatsy
Great. Of course that line ( |    verificationTokenExpiry = Column(String)) was a copy and paste mistake. On Jun 24, 10:28 am, Michael Bayer mike...@zzzcomputing.com wrote: On Jun 24, 2011, at 1:26 PM, Arthur Kopatsy wrote: Awesome. Does that mean the sqlalchemy example is wrong. It