Re: [sqlalchemy] changes flushed for expunged relationships

2012-10-18 Thread Michael Bayer
On Oct 17, 2012, at 9:55 PM, Kent wrote: The attached script fails with sqlalchemy.exc.InvalidRequestError: Instance 'Bug at 0x1e6f3d10' has been deleted. Use the make_transient() function to send this object back to the transient state. While this example is somewhat convoluted, I have

Re: [sqlalchemy] changes flushed for expunged relationships

2012-10-18 Thread Kent
Thank you for the clarifications. On 10/18/2012 11:43 AM, Michael Bayer wrote: On Oct 17, 2012, at 9:55 PM, Kent wrote: The attached script fails with sqlalchemy.exc.InvalidRequestError: Instance 'Bug at 0x1e6f3d10' has been deleted. Use the make_transient() function to send this object

Re: [sqlalchemy] changes flushed for expunged relationships

2012-10-18 Thread Kent
On Thursday, October 18, 2012 11:43:50 AM UTC-4, Michael Bayer wrote: On Oct 17, 2012, at 9:55 PM, Kent wrote: The attached script fails with sqlalchemy.exc.InvalidRequestError: Instance 'Bug at 0x1e6f3d10' has been deleted. Use the make_transient() function to send this object back to

Re: [sqlalchemy] changes flushed for expunged relationships

2012-10-18 Thread Michael Bayer
On Oct 18, 2012, at 2:46 PM, Kent wrote: On Thursday, October 18, 2012 11:43:50 AM UTC-4, Michael Bayer wrote: On Oct 17, 2012, at 9:55 PM, Kent wrote: The attached script fails with sqlalchemy.exc.InvalidRequestError: Instance 'Bug at 0x1e6f3d10' has been deleted. Use the

[sqlalchemy] changes flushed for expunged relationships

2012-10-17 Thread Kent
The attached script fails with sqlalchemy.exc.InvalidRequestError: Instance 'Bug at 0x1e6f3d10' has been deleted. Use the make_transient() function to send this object back to the transient state. While this example is somewhat convoluted, I have a few questions about sqlalchemy behavior