code: def parse(self, raw):
          
          results = list(self.parse_partial(raw))
          results.extend(self.parse_finalize())
          return results[0] if len(results) == 1 else results
docs: Returns a Python object decoded from the bytes of this encoding.
  
          Raises
          ------
          ~ipfsapi.exceptions.DecodingError
  
          Parameters
          ----------
          raw : bytes
              Data to be parsed
  
          Returns
          -------
              object