def create_record(self, name, zone, type, data, extra=None):
        extra = extra or {}
        params = {'name': name, 'z': zone.domain, 'type': type,
                  'content': data}

        params['ttl'] = extra.get('ttl', 120)

        if extra in 'priority':
            # For MX and SRV records
            params['prio'] = extra['priority']

        self.connection.set_context({'zone_domain': zone.domain})
        resp = self.connection.request(action='rec_new', params=params)
        item = resp.object['response']['rec']['obj']
        record = self._to_record(zone=zone, item=item)
        return record
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/cloudflare.py/CloudFlareDNSDriver.create_record/swapped operands of `in`