-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
questionFurther information is requestedFurther information is requestedtestsAdd unit tests or modify the test matrix.Add unit tests or modify the test matrix.
Milestone
Description
Hi,
I use Mixin classes in my model definitions so that I can set up common relationships on derived classes in one place. All of my entities and their tables make use of standard created, modified, createdBy, and modifiedBy attributes. The createdBy and modifiedBy attributes refer to instances of a Person class stored in a person table. To get this to work I've created a base Entity class which inherits from sqlalchemy.ext.declarative.AbstractConcreteBase and sets up the common columns and relationships through function attributes with the sqlalchemy.ext.declarative.declared_attr decorator. SQLAthanor doesn't seem to support this pattern. Is it something which could be supported without undue effort? Thanks.
Regards,
Matt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requestedtestsAdd unit tests or modify the test matrix.Add unit tests or modify the test matrix.