def MetadataMixin(cls_name):
    """Mixin class that provides metadata-fields and methods"""
person_role_cls_name = 'Person%sRole' % cls_name
SQLAlchemy: Multiple Inheritance with dynamic 'association_proxy' creator function