[sqlalchemy] Multiple inserts with .append()'d associations

2012-05-28 Thread Jeff
There are Analyses, which have Events. There's an Analysis_Event_Association table. Events are written before the Analyses. Later, I have a for loop calculating multiple Analyses. For each Analysis, we identify the Events it includes and append them, using sqlalchemy's relationship plumbing. This

Re: [sqlalchemy] Multiple inserts with .append()'d associations

2012-05-28 Thread Michael Bayer
On May 28, 2012, at 10:52 AM, Jeff wrote: There are Analyses, which have Events. There's an Analysis_Event_Association table. Events are written before the Analyses. Later, I have a for loop calculating multiple Analyses. For each Analysis, we identify the Events it includes and append them,