Hi,
I recently upgrade from sqlalchemy 0.3.10 to 0.4.2p3.
I have a method like this:
def getPlanillaDet(self, plan_id):
return
session.query(PlanillaDet).filter_by(Planilladet.c.plan_id==plan_id).all()
Now, after update, when I try to execute this method, I get an
exception with the next message:
File "V:\nacer\bin\common\services.py", line 192, in get
return
session.query(PlanillaDet).filter_by(Planilladet.c.plan_id==plan_id).all()
TypeError: filter_by() takes exactly 1 argument (2 given)
What is the problem here ?
Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---