class_docstr: This function is used to handle the input request specified in kserve
  format and converts it into a Torchserve readable format.
  
  Args:
      data - List of Input Request in kserve Format
  Returns:
      [list]: Returns the list of the Input Request in Torchserve Format
code: def parse_input(self, data):
      self._data_list = [
          row.get("data") or row.get("body") for row in data
      ]
      # selecting the first input from the list torchserve creates
      logger.debug("Parse input data_list %s", self._data_list)
      data = self._data_list[0]
  
      # If the KF Transformer and Explainer sends in data as bytesarray
      if isinstance(data, (bytes, bytearray)):
          data = data.decode()
          data = json.loads(data)
          logger.debug("Bytes array is %s", data)
  
      self._inputs = data.get("instances")
      logger.debug("kserve parsed inputs %s", self._inputs)
      return self._inputs
  
file_path: serve/ts/torch_handler/request_envelope/kserve.py
imports: import json
  import logging
  from .base import BaseEnvelope
label_desc: Use image node_id 1 for calling the KServeEnvelope obj's underlying member method code with example usage: obj.parse_input(data) and returns: self