Re: [sqlalchemy] Issue with session.expunge with mutually dependent tables

2013-08-12 Thread csdrane
Thanks Michael! On Sunday, August 11, 2013 4:33:20 PM UTC-4, Michael Bayer wrote: On Aug 11, 2013, at 3:06 PM, csd...@gmail.com javascript: wrote: I'm having problem with the following code which is designed to remove an object identified as malformed prior to session.commit(): if

[sqlalchemy] Issue with session.expunge with mutually dependent tables

2013-08-11 Thread csdrane
I'm having problem with the following code which is designed to remove an object identified as malformed prior to session.commit(): if tickers[x] not in existing_tickers and company_names[x] not in existing_companies: company = Company(tickers[x], company_names[x], creators[x], links[x])

Re: [sqlalchemy] Issue with session.expunge with mutually dependent tables

2013-08-11 Thread Michael Bayer
On Aug 11, 2013, at 3:06 PM, csdr...@gmail.com wrote: I'm having problem with the following code which is designed to remove an object identified as malformed prior to session.commit(): if tickers[x] not in existing_tickers and company_names[x] not in existing_companies: company =