[sqlalchemy] Re: inheritance + overriding

2011-10-24 Thread mnagni
Wonderfull! I still have to test any insert/query but for now the tables seems to be generated correctly! Thanks!! On Oct 24, 8:18 pm, Michael Bayer wrote: > On Oct 24, 2011, at 2:56 PM, Maurizio Nagni wrote: > > > > > sqlalchemy.exc.InvalidRequestError: Implicitly combining column > > mo_onli

[sqlalchemy] Re: inheritance + overriding

2011-10-24 Thread mnagni
a small errata... [...] because in "my" specifications is required that 1) CI_OnlineResource.applicationProfile is a String 2) MO_OnlineResource.applicationProfile is an ENUM of String type [...] sorry! On Oct 24, 4:43 pm, mnagni wrote: > Hello, > > I have two tabl

[sqlalchemy] inheritance + overriding

2011-10-24 Thread mnagni
Hello, I have two tables which looks like class CI_OnlineResource(object): def __init__(self): super(CI_OnlineResource, self).__init__() self.applicationProfile = None self.function = None class MO_OnlineResource(CI_OnlineResource):