[sqlalchemy] Re: Problem: TypeError: Incompatible collection type

2008-07-14 Thread az
AFAIRemember, by default, relation assumes it is a collection, and not a reference - as it is in your case (padre means parent, right?) give relation( ... use_list=False). On Monday 14 July 2008 15:21:48 Marcos wrote: Hello! First, sorry about my english! I'm having this little problem, and

[sqlalchemy] Re: Problem: TypeError: Incompatible collection type

2008-07-14 Thread Marcos
a reference - as it is in your case (padre means parent, right?) Yes, padre means parent give relation( ... use_list=False). Mmmm... no: code Traceback (most recent call last): File /home/marcos/easyeclipse-python-1.2.2.2/workspace/mine/jContab/ src/jContab/test.py, line 20, in ?

[sqlalchemy] Re: Problem: TypeError: Incompatible collection type

2008-07-14 Thread az
eh, sorry, RTFM, uselist without _underscore On Monday 14 July 2008 16:42:05 Marcos wrote: a reference - as it is in your case (padre means parent, right?) Yes, padre means parent give relation( ... use_list=False). Mmmm... no: code Traceback (most recent call last): File

[sqlalchemy] Re: Problem: TypeError: Incompatible collection type

2008-07-14 Thread Marcos
uselist without _underscore Thanks, that works. RTFM And thanks for the insult, I will try to read more before to ask. Marcos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this

[sqlalchemy] Re: Problem: TypeError: Incompatible collection type

2008-07-14 Thread Michael Bayer
On Jul 14, 2008, at 10:46 AM, [EMAIL PROTECTED] wrote: eh, sorry, RTFM, uselist without _underscore if that was not addressed to yourself, try to refrain from using that kind of tone...even if it were meant humorously, things like that don't travel well via email.