Re: [sqlalchemy] dynamic modification of foreign keys sqlalchemy

2010-12-01 Thread Michael Bayer
On Dec 1, 2010, at 5:40 AM, slothy wrote: > Hi! > > I'm creating a structure of "elements" dynamically with declarative, > and I'm not sure if I can modify the mapper to get the new elements > related with a FK. Sorry about my english, is very poor. > > This is my function class factory: > > d

[sqlalchemy] dynamic modification of foreign keys sqlalchemy

2010-12-01 Thread slothy
Hi! I'm creating a structure of "elements" dynamically with declarative, and I'm not sure if I can modify the mapper to get the new elements related with a FK. Sorry about my english, is very poor. This is my function class factory: def nuevaEtiqueta(self, nombre_etiqueta): etiqueta = nombre