[sqlalchemy] Re: Thread issue?

2006-11-05 Thread François Wautier
,tblPeople.c.id==tblRacePar ticipant.c.Racer_id)) inRace = property(_in_race) François Wautier wrote: Hi Michael, Thanks for your reply. First an apology, my program is now working It was a silly mistake... Second, I agree that what I am doing is not the most elegant thing I've ever

[sqlalchemy] Thread issue?

2006-11-04 Thread François Wautier
Hi List, I have a table of people, one of Races and a RaceParticipant table that relate people to races and add a few extra info (e.g. Team, Weight, ...) All this is working fine and thanks to the power of the ORM, I can do things like race.Racers people.Races and get the

[sqlalchemy] Re: Thread issue?

2006-11-04 Thread François Wautier
Hi Michael, Thanks for your reply. First an apology, my program is now working It was a silly mistake... Second, I agree that what I am doing is not the most elegant thing I've ever done... .to put it mildly... Yet, in most cases, the fixRace function will only be run once at startup

[sqlalchemy] Re: session.flush() closing connection

2006-10-19 Thread François Wautier
Thanks for the patch... it works... so far And sorry for the double post... my original email was held for a very long time on some google host Cheers, François thats a bug. its because the flush() is closing the connection you passed to your session. heres a patch that fixes