Re: [sqlalchemy] Accessing association-specific data from a self-referential many-to-many relationship using association_proxy?

2015-07-06 Thread Mike Bayer
On 7/6/15 3:13 PM, Ryan Holmes wrote: I have tried this, but still cannot get it figured out. I keep getting exceptions such as Could not determine join condition between parent/child tables on relationship..., etc. There are two things that seems to be hindering me: - I'm using classical

Re: [sqlalchemy] Accessing association-specific data from a self-referential many-to-many relationship using association_proxy?

2015-07-06 Thread Mike Bayer
On 7/6/15 12:06 PM, Ryan Holmes wrote: I have an interesting problem that I haven't been able to solve for quite some time. I keep finding information about association proxies and the like, but nothing that really helps (or maybe I'm implementing it incorrectly). Let's start with this: |

Re: [sqlalchemy] Accessing association-specific data from a self-referential many-to-many relationship using association_proxy?

2015-07-06 Thread Ryan Holmes
I have tried this, but still cannot get it figured out. I keep getting exceptions such as Could not determine join condition between parent/child tables on relationship..., etc. There are two things that seems to be hindering me: - I'm using classical mappings. Many resources online assume

[sqlalchemy] Accessing association-specific data from a self-referential many-to-many relationship using association_proxy?

2015-07-06 Thread Ryan Holmes
I have an interesting problem that I haven't been able to solve for quite some time. I keep finding information about association proxies and the like, but nothing that really helps (or maybe I'm implementing it incorrectly). Let's start with this: class HandledProjectedItemList(list):