Hi, I have a situation where I have three classes A, B and C with B and C inheriting class A.
Now each of these classes also has a version class, lets call them AVersion, BVersion and CVersion. The inheritance tree is the same: BVersion and CVersion inherit AVersion. What I want to achieve is A having relationship to AVersion, B having a relationship to BVersion and C having a relationship to CVersion. I ran into problems when trying to name these relationships with same name 'versions'. The problem is this causes a naming collision: SAWarning: Property A.versions on Mapper|B|b being replaced with new property B.versions; the old property will be discarded How can I achieve this with keeping the relationship names on all classes as 'versions'? The relationship on all classes can be viewonly, hence this shouldn't have any effect on session dependency processing. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
