code: def _complete_batch_send(self, resp):
          
          self._batch_send_d = None
          self._req_attempts = 0
          self._retry_interval = self._init_retry_interval
          if isinstance(resp, Failure) and not resp.check(tid_CancelledError,
                                                          CancelledError):
              log.error("Failure detected in _complete_batch_send: %r\n%r",
                        resp, resp.getTraceback())
          return
docs: Complete the processing of our batch send operation
  
          Clear the deferred tracking our current batch processing
          and reset our retry count and retry interval
          Return none to eat any errors coming from up the deferred chain