in pyspark_huggingface/compat/datasource.py [0:0]
def __init__(self, key: str):
from pyspark.sql.types import StructType, StructField, BinaryType
self.key = key
self.schema = StructType([StructField(self.key, BinaryType(), True)])