def _get_services_for_credential(_id):
    services = []
    for service in Service.data_type_date_index.query('service'):
        if service.credentials in _id:
            services.append(service)
    return services
dataset/ETHPy150Open lyft/confidant/confidant/routes/v1.py/_get_services_for_credential/swapped operands of `in`