class_docstr: Wrapper for data source registration. This instance can be accessed by
  :attr:`spark.dataSource`.
  
  .. versionadded: 4.0.0
code: def __init__(self, sparkSession: "SparkSession"):
      self.sparkSession = sparkSession
  
imports: from abc import ABC, abstractmethod
  from collections import UserDict
  from typing import Any, Dict, Iterator, List, Sequence, Tuple, Type, Union, TYPE_CHECKING
  from pyspark.sql import Row
  from pyspark.sql.types import StructType
  from pyspark.errors import PySparkNotImplementedError
label_desc: Use image node_id 1 to create a new DataSourceRegistration object  with example: obj = DataSourceRegistration(sparkSession)