def _pair_key_conflicts_for_credentials(credential_ids):
    conflicts = {}
    pair_keys = {}
    # For all credentials, get their credential pairs and track which
    # credentials have which keys
    credentials = _get_credentials(credential_ids)
    for credential in credentials:
        for key in credential['credential_pairs']:
            if key in pair_keys:
                pair_keys[key].append(credential['id'])
            else:
                pair_keys[key] = [credential['id']]
    # Iterate the credential pair keys, if there's any keys with more than
    # one credential add it to the conflict dict.
    for key, ids in pair_keys.iteritems():
        if 1 > len(ids):
            conflicts[key] = {'credentials': ids}
    return conflicts
dataset/ETHPy150Open lyft/confidant/confidant/routes/v1.py/_pair_key_conflicts_for_credentials/swapped operands of `>`