Maybe you can squelch the exception by using a synonym with the descriptor
argument to map to a fake property.
Oooh, I had not come across this construct before - looks as if it
might do exactly what I want. I might even be able to make a decorator
that wraps this all up nicely. Thank you
Hi Folks,
I have been scratching my head over this one all day, so any advice
would be greatly appreciated!
I have a pretty simple join table setup like this:
foo foo_bar bar
---
id id_foo (unique) id
id_bar
Hi ho,
Thanks for the swift reply!
Did you use uselist=False on foo.bar and the associationproxy? It would nice
if you could show some
code.http://www.sqlalchemy.org/docs/orm/extensions/associationproxy.html?h...
Yes I did. The code is more complicated as it has a bunch of other
stuff in