如何设置默认的多态内连接?
class Some(Base):
__tablename__ = 'some'
@declared_attr
def __mapper_args__(cls):
return {'polymorphic_identity': '%s' % cls.__tablename__,
'polymorphic_on': cls._type,
'with_polymorphic': '*',
'polymorphic_innerjoin': True # how to do it?
}