[sqlalchemy] Re: how to unit test with SQ

2007-12-18 Thread Paulino
Hello! I have a similar error with SA 4.1.0 and turbogears. session.query(Extrato).filter_by(bank='IF5', data=datetime.datetime.strptime('2007/07/27','%Y/%m/%d')) File /usr/lib/python2.5/site-packages/SQLAlchemy-0.4.1-py2.5.egg/ sqlalchemy/orm/session.py, line 654, in query q =

[sqlalchemy] Re: how to unit test with SQ

2007-02-11 Thread Michael Bayer
On Feb 10, 8:36 pm, sqad [EMAIL PROTECTED] wrote: InvalidRequestError: Class 'str' entity name 'None' has no mapper associated with it its probably something to do with this: user.addresses.appent('One Washington','California') which possibly adds a string to a collection that is