code: def _update_records(self, records, data):
          
          data = {k: v for k, v in data.items() if v}
          records = [dict(record, **data) for record in records]
          return self._apicall(
              'updateDnsRecords',
              domainname=self.domain,
              dnsrecordset={'dnsrecords': records},
          ).get('dnsrecords', [])
docs: Insert or update a list of DNS records, specified in the netcup API
          convention.
  
          The fields ``hostname``, ``type``, and ``destination`` are mandatory
          and must be provided either in the record dict or through ``data``!