def _allmsgs(obj):
    if isinstance(obj, MultiMessage):
        return obj.messages
    elif obj == BUBBLE:
        return []
    else:
        return [obj]
Return a copy of this query, with some values removed.
dataset/ETHPy150Open beetbox/beets/beets/util/pipeline.py/_allmsgs--crossover with--dataset/ETHPy150Open edx/bok-choy/bok_choy/query.py/Query.filter