[sqlalchemy] vacation this week

2010-08-15 Thread Michael Bayer
I'll be on limited email access this coming week, so the usual helpful emailers should feel free to jump in on questions anytime, and managers should feel free to respond to pending queue requests since I may not get to them very quickly (anyone want to join the list of managers ?) - mike

[sqlalchemy] sqlalchemy - double polymorphic inheritance problem

2010-08-15 Thread jean-philippe serafin
Hi, I've got a class mapping with two polymorphic inheritance : class AbstractA(Base): __tablename__ = abstract_a id = Column(Integer, primary_key=True) class_name = Column('class_name', String(50)) __mapper_args__ = { 'polymorphic_on': class_name, } #some

[sqlalchemy] Updating a Table after changing class based on Declarative in PostgreSQL

2010-08-15 Thread mclovin
I am new to SQL and SQLalchemy, but say I have a class like this: class User(Base): __tablename__ = users id = Column(Integer, primary_key=True) name = Column(String, unique=True) join = Column(DateTime) infractions =Column(Integer) posts = Column(Integer) def

Re: [sqlalchemy] sqlalchemy - double polymorphic inheritance problem

2010-08-15 Thread Michael Bayer
On Aug 15, 2010, at 6:52 AM, jean-philippe serafin wrote: Hi, I've got a class mapping with two polymorphic inheritance : class AbstractA(Base): __tablename__ = abstract_a id = Column(Integer, primary_key=True) class_name = Column('class_name', String(50))