class_docstr: Abstract base class for creation of new serializers.
  
  This class extends the API of :class:~`sagemaker.serializers.BaseSerializer` with more
  user-friendly options for setting the Content-Type header, in situations where it can be
  provided at init and freely updated.
docstr: Initialize a ``SimpleBaseSerializer`` instance.
  
  Args:
      content_type (str): The MIME type to signal to the inference endpoint when sending
      request data (default: "application/json").
docstr_tok: ["Initialize","a","``","SimpleBaseSerializer","``","instance",".","Args",":","content_type","(","str",")",":","The","MIME","type","to","signal","to","the","inference","endpoint","when","sending","request","data","(","default",":","``","application\/json","''",")","."]
code: def __init__(self, content_type="application/json"):
      """Initialize a ``SimpleBaseSerializer`` instance.
  
      Args:
          content_type (str): The MIME type to signal to the inference endpoint when sending
          request data (default: "application/json").
      """
      super(SimpleBaseSerializer, self).__init__()
      if not isinstance(content_type, str):
          raise ValueError(
              "content_type must be a string specifying the MIME type of the data sent in "
              "requests: e.g. 'application/json', 'text/csv', etc. Got %s"
              % content_type
          )
      self.content_type = content_type
  
imports: from __future__ import absolute_import
  import abc
  from collections.abc import Iterable
  import csv
  import io
  import json
  import numpy
  from pandas import DataFrame
  from six import with_metaclass
  from sagemaker.utils import DeferredError
label_desc: Use image node_id 1 to create a new SimpleBaseSerializer object from inherited base classes:  with example: obj = SimpleBaseSerializer(content_type)