[sqlalchemy] Re: Understanding behavior of association_proxy

2016-07-29 Thread Eric Wittle
Thank you, that helps! -Eric On Sunday, July 24, 2016 at 7:57:18 PM UTC-4, Eric Wittle wrote: > > I'd like to understand the behavior of association_proxy when creating new > records across a many-to-many table where, in some cases, the joining table > will have additional attribute values

Re: [sqlalchemy] Re: Understanding behavior of association_proxy

2016-07-29 Thread Mike Bayer
On 07/29/2016 06:39 PM, Eric Wittle wrote: I don't have sqlite installed, so I skipped actually creating the engine, all Python versions have sqlite3 included in the distribution itself unless you're on Jython (which I doubt works with SQLA these days)? | fromsqlalchemy

[sqlalchemy] Re: Understanding behavior of association_proxy

2016-07-29 Thread Eric Wittle
OK, my last post I tried to edit the code while I was posting to simplify it, and clearly missed a bit. Here's the case that is failing simplified as much as possible. I get a key error on the last line. I don't have sqlite installed, so I skipped actually creating the engine, but I'm not sure