> From: [email protected] [mailto:[email protected]] > On Behalf Of Michael Bayer > > On Dec 19, 2008, at 2:11 PM, Arn Vollebregt wrote: > > > I am wondering if there is a way to completely decouple the > > association proxy declaration from my Python classes, and contain > > this to a database class? > > easy enough: > > mapper(MyClass, mytable, properties={...}) > MyClass.some_association = assocation_proxy(*args)
Hmm, yes, of course :) I'll have to find the fine line between hiding the SQLAlchemy magic, but not hiding too much of the magic, but I can think I can work with this suggestion. Thx! Regards, Arn Vollebregt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
