def listor(sub_validator):
    def _validate(value):
        return [sub_validator(val) for val in (value if isinstance(value, list) else [value])]
    return _validate
Test a proposal where we explicitly choose which comps to merge (kA,kB)
dataset/ETHPy150Open memsql/memsql-loader/memsql_loader/api/validation.py/listor--crossover with--dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/merge/TestMergeDPMixModel.py/TestMergeMoveDPMixModel.test_propose_merge_candidate_produces_valid_model