Re: [sqlalchemy] sqlalchemy - double polymorphic inheritance problem

2010-08-17 Thread jean-philippe serafin
ok, thanks for your aswers, I'll try it tonight. 2010/8/17 Michael Bayer mike...@zzzcomputing.com On Aug 16, 2010, at 4:20 AM, jean-philippe serafin wrote: AbstractA is AbstractB base class. AbstractB is ClassA base class Everything work fine in this case. I just

Re: [sqlalchemy] sqlalchemy - double polymorphic inheritance problem

2010-08-17 Thread jean-philippe serafin
ok, everything is working as expected thanks, SQLAlchemy just rocks! 2010/8/17 jean-philippe serafin serafi...@gmail.com ok, thanks for your aswers, I'll try it tonight. 2010/8/17 Michael Bayer mike...@zzzcomputing.com On Aug 16, 2010, at 4:20 AM, jean-philippe serafin wrote

Re: [sqlalchemy] sqlalchemy - double polymorphic inheritance problem

2010-08-16 Thread jean-philippe serafin
a ClassA object 2010/8/15 Michael Bayer mike...@zzzcomputing.com 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

[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