[sqlalchemy] order of initialization __mapper_args__ 'inherit_condition' and primary key

2012-02-23 Thread lars van gemerden
Hi all, I reproduced an error I was having with the code below (basically pasted from the tutorial for joined inheritance) and added an 'inherit_condition' to __mapper_args__ of the subclass. At that point the code started throwing a sqlalchemy.exc.InterfaceError. The code is:

Re: [sqlalchemy] order of initialization __mapper_args__ 'inherit_condition' and primary key

2012-02-23 Thread Michael Bayer
On Feb 23, 2012, at 9:56 AM, lars van gemerden wrote: Hi all, I reproduced an error I was having with the code below (basically pasted from the tutorial for joined inheritance) and added an 'inherit_condition' to __mapper_args__ of the subclass. At that point the code started throwing a