class_docstr: IODescriptor describes the input/output data format of an InferenceAPI defined
  in a :code:`bentoml.Service`. This is an abstract base class for extending new HTTP
  endpoint IO descriptor types in BentoServer.
class_docstr_tok: ["IODescriptor","describes","the","input\/output","data","format","of","an","InferenceAPI","defined","in","a",":","code",":","`","bentoml.Service","`",".","This","is","an","abstract","base","class","for","extending","new","HTTP","endpoint","IO","descriptor","types","in","BentoServer","."]
code: def spark_schema(self) -> pyspark.sql.types.StructType:
      raise NotImplementedError(
          "This IO descriptor does not currently support batch inference."
      )
  
imports: from __future__ import annotations
  import typing
  from abc import ABC
  from abc import abstractmethod
  from functools import update_wrapper
  from ...exceptions import InvalidArgument
label_desc: Use image node_id 12 for calling the IODescriptor obj's underlying member method code with example usage: obj.spark_schema() without return types