hi all!
another question: i'm mapping some classes dinamically, using the
mapper() function. i would like to create relationships, but not in the
properties kwarg of mapper, but after:
*mapper(cls, my_select)**
**...**
**# detects any relationship**
**...**
**setattr(cls, 'my_attr'**,
stupid me.
*mp = **mapper(cls, my_select)**
**...**
**# detects any relationship**
**...
mp.add_property(my_attr, relationship(othercls, ...))
***
sorry for thinking out loud (into the group) ...
best regards,
richard.
On 04/08/2014 04:31 PM, Richard Gerd Kuesters wrote:
hi all!
another