no thats possibly a little weird...you should send me what youre
doing so i can see what thats about. is this only with self-
referential mappers ?
On Jun 14, 2006, at 4:00 PM, Chris Perkins wrote:
> On 6/14/06, Michael Bayer <[EMAIL PROTECTED]> wrote:
>
>> On Jun 14, 2006, at 2:01 PM, Chris Perkins wrote:
>>
>>> I am trying to use mappers to model a self-referential table with a
>>> two-column primary key (id and version, used to track history).
>
>> surprise....the latest trunk you can do it:
>
> Thanks, Michael, that worked. Fast service around here.
>
> The latest code is giving me another strange problem: all my
> relation() properties in my mappers are dying when they compile(), on
> this line (orm.properties, line 276):
>
> def _get_direction(self):
> [...snip...]
> raise exceptions.ArgumentError("Cant determine relation
> direction")
>
> It seems I can make the problem go away by putting in an explicit
> foreignkey parameter, so it's not a big deal, but it used to figure
> this out on its own. Is this an intentional change, or an accident?
> (I realize that this is not a released version)
>
> Thanks again,
>
> Chris Perkins
>
>
> _______________________________________________
> Sqlalchemy-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users