code: def as_nullable_spark_type(dt: DataType) -> DataType:
      ...
  
file_path: spark/python/pyspark/pandas/spark/utils.py
imports: from typing import overload
  from pyspark.sql.types import DecimalType, StructType, MapType, ArrayType, StructField, DataType
label_desc: Use image node_id 4 for calling a global function with example usage: as_nullable_spark_type(dt) without return types