pyspark.sql.datasource.DataSourceRegistration.register#

DataSourceRegistration.register(dataSource)[source]#

Register a Python user-defined data source.

Parameters
dataSourcetype

The data source class to be registered. It should be a subclass of DataSource.