Re: [sqlalchemy] Polymorhic tables and __table__.columns

2011-02-19 Thread Martijn Moeling
On Feb 19, 2011, at 18:57 , Michael Bayer wrote: > > On Feb 19, 2011, at 12:45 PM, Martijn Moeling wrote: > >> Hi, >> >> I am running into something weird results I do not really understand. SA >> 0.6.6 >> >> >> I have a Polymorhic table setup, where I need to get the columnlist for >> out

Re: [sqlalchemy] Polymorhic tables and __table__.columns

2011-02-19 Thread Michael Bayer
On Feb 19, 2011, at 12:45 PM, Martijn Moeling wrote: > Hi, > > I am running into something weird results I do not really understand. SA 0.6.6 > > > I have a Polymorhic table setup, where I need to get the columnlist for > outputting the ExtJs 4 Model. > > Basically it should output > >

[sqlalchemy] Polymorhic tables and __table__.columns

2011-02-19 Thread Martijn Moeling
Hi, I am running into something weird results I do not really understand. SA 0.6.6 I have a Polymorhic table setup, where I need to get the columnlist for outputting the ExtJs 4 Model. Basically it should output ( 'User' : { fields : [ {'field1' : 'int'},