code: def _disallow_instance(_: Any) -> NoReturn:
      raise RuntimeError(
          "Creating instance of _ImageSchema class is disallowed."
      )
  
file_path: spark/python/pyspark/ml/image.py
imports: import sys
  from typing import Any, Dict, List, NoReturn, Optional, cast
  import numpy
  from pyspark import SparkContext
  from pyspark.sql.types import Row, StructType, _create_row, _parse_datatype_json_string
  from pyspark.sql import SparkSession
label_desc: Use image node_id 1 for calling a global function with example usage: _disallow_instance(_) without return types