code: def _mine_send(self, tag, data):
          '''
          Send mine data to the master
          '''
          channel = salt.transport.client.ReqChannel.factory(self.opts)
          data['tok'] = self.tok
          try:
              ret = channel.send(data)
              return ret
          except SaltReqTimeoutError:
              log.warning('Unable to send mine data to master.')
              return None
          finally:
              channel.close(f _mine_send(self, tag, data):
          '''
          Send mine data to the master
          '''
          channel = salt.transport.client.ReqChannel.factory(self.opts)
          data['tok'] = self.tok
          try:
              ret = channel.send(data)
              return ret
          except SaltReqTimeoutError:
              log.warning('Unable to send mine data to master.')
              return None
          finally:
              channel.close()
docs: Send mine data to the master