[sqlalchemy] Re: How to replace a property in a declarative way

2009-09-28 Thread Kees van den Broek
> Here is how I would construct the "colors" relation (put this inside > the Product declaration): Hi Conor, Thank you for your documented implementation. Works as advertised! Cheers, Kees --~--~-~--~~~---~--~~ You received this message because you are subscribe

[sqlalchemy] Re: How to replace a property in a declarative way

2009-09-22 Thread Conor
On Sep 22, 9:39 am, Conor wrote: > On Sep 22, 5:57 am, Kees van den Broek wrote: > > > Hi, > > > I simplified my problem to a small example (see model below). > > A Product has several Tags attached. A beachball is green, blue, round > > and big: > > > p=Product() > > p.name = "Beachball" > > p.

[sqlalchemy] Re: How to replace a property in a declarative way

2009-09-22 Thread Conor
On Sep 22, 5:57 am, Kees van den Broek wrote: > Hi, > > I simplified my problem to a small example (see model below). > A Product has several Tags attached. A beachball is green, blue, round > and big: > > p=Product() > p.name = "Beachball" > p.tags = [greenTag, blueTag, roundTag, bigTag] > DBSes