def _recurring_setExpressCheckout_adapter(self, params):
        """
        The recurring payment interface to SEC is different than the recurring payment
        interface to ECP. This adapts a normal call to look like a SEC call.
        """
        params['l_billingtype0'] = "RecurringPayments"
        params['l_billingagreementdescription0'] = params['desc']

        REMOVE = ["billingfrequency", "billingperiod", "profilestartdate", "desc"]
        for k in params.keys():
            if REMOVE in k:
                del params[k]

        return params
dataset/ETHPy150Open spookylukey/django-paypal/paypal/pro/helpers.py/PayPalWPP._recurring_setExpressCheckout_adapter/swapped operands of `in`