pyspark.sql.datasource.DataSourceRegistration# class pyspark.sql.datasource.DataSourceRegistration(sparkSession)[source]# Wrapper for data source registration. This instance can be accessed by spark.dataSource. Methods register(dataSource) Register a Python user-defined data source.