code: def _transmit(self, node):
          '''
          Transmit node data to target.
  
          :type node:  Template
          :param node: node to transmit
          :return: response if there is any
          '''
          payload = node.render().tobytes()
          self._last_payload = payload
          try:
              return self.target.transmit(payload)
          except Exception as e:
              self.logger.error('Error in transmit: %s', e)
              raisf _transmit(self, node):
          '''
          Transmit node data to target.
  
          :type node:  Template
          :param node: node to transmit
          :return: response if there is any
          '''
          payload = node.render().tobytes()
          self._last_payload = payload
          try:
              return self.target.transmit(payload)
          except Exception as e:
              self.logger.error('Error in transmit: %s', e)
              raise
docs: Transmit node data to target.
  
          :type node:  Template
          :param node: node to transmit
          :return: response if there is any