def METHOD_NAME(self, Base):
    class ArticleTranslation(Base):
        __tablename__ = 'article_translation'
        id = sa.Column(sa.Integer, primary_key=True)
        locale = sa.Column(sa.String(10), primary_key=True)
        title = sa.Column(sa.String(100))
        is_published = sa.Column(sa.Boolean, index=True)
        is_deleted = sa.Column(sa.Boolean, unique=True)
        is_archived = sa.Column(sa.Boolean)
        __table_args__ = (
            sa.Index('my_index', is_archived, is_published, unique=True),
        )
    return ArticleTranslation.__table__