class Mixin(object):
    persons = association_proxy('persons_roles', 'person', creator=
        person_role_cls)
return Mixin
SQLAlchemy: Multiple Inheritance with dynamic 'association_proxy' creator function