def get_checkable_models(*args):
    if len(args):
        selection = [getattr(Checkers, arg) for arg in args]
    else:
        selection = Checkers.objects()
    checkable_models = dict()
    for chk in selection:
        for m in rt.models_by_base(chk.model, toplevel_only=True):
            lst = checkable_models.setdefault(m, [])
            lst.append(chk)
    return checkable_models
Produce an INTERSECT ALL of this Query against one or more queries.
dataset/ETHPy150Open lsaffre/lino/lino/modlib/plausibility/models.py/get_checkable_models--crossover with--dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/orm/query.py/Query.intersect_all