class_docstr: Abstract base class for handling custom payload serialization and deserialization.
  
  Provides a skeleton for customization requiring the overriding of the
  `serialize_payload` and `deserialize_payload` methods.
  
  Args:
      content_type (str): The content type of the endpoint input data.
      accept_type (str): The content type of the data accepted from the endpoint.
class_docstr_tok: ["Abstract","base","class","for","handling","custom","payload","serialization","and","deserialization",".","Provides","a","skeleton","for","customization","requiring","the","overriding","of","the","`","serialize_payload","`","and","`","deserialize_payload","`","methods",".","Args",":","content_type","(","str",")",":","The","content","type","of","the","endpoint","input","data",".","accept_type","(","str",")",":","The","content","type","of","the","data","accepted","from","the","endpoint","."]
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def deserialize(
      self, stream: IO, content_type: str = CONTENT_TYPE
  ) -> object:
      """Placeholder docstring"""
      # pylint: disable=unused-argument
      return self.deserialize_payload_from_stream(stream)
  
file_path: sagemaker-python-sdk/src/sagemaker/serve/marshalling/custom_payload_translator.py
imports: from __future__ import absolute_import
  import abc
  from typing import IO
label_desc: Use image node_id 5 for calling the CustomPayloadTranslator obj's underlying member method code with example usage: obj.deserialize(stream, content_type) and returns: self