code: def __init_subclass__(cls, **kwargs):
      for required in ("inputAnnotatorTypes", "outputAnnotatorType"):
          if not getattr(cls, required):
              raise TypeError(
                  f"Can't instantiate class {cls.__name__} without {required} attribute defined"
              )
  
      return super().__init_subclass__(**kwargs)
  
file_path: spark-nlp/python/sparknlp/common/annotator_model.py
imports: from pyspark import keyword_only
  from pyspark.ml.util import JavaMLWritable
  from pyspark.ml.wrapper import JavaModel
  import sparknlp.internal
  from sparknlp.common import AnnotatorProperties
label_desc: Use image node_id 3 for calling the AnnotatorModel obj's underlying member method code with example usage: obj.__init_subclass__(cls) and returns: super