def __init__(self,
                 parquet_file_url_list,
                 batch_size,
                 petastorm_reader_kwargs,
                 shuffling_queue_capacity,
                 data_loader_fn):
        """
        :param parquet_file_url_list: A string specifying the parquet file URL list.
        :param batch_size: The number of items to return per batch. Default ``None``.
            If ``None``, current implementation will set batch size to be 32, in future,
            ``None`` value will denotes auto tuned best value for batch size.
        :param petastorm_reader_kwargs: other arguments for petastorm reader
        :param shuffling_queue_capacity: Queue capacity is passed to the underlying
            :class:`tf.RandomShuffleQueue` instance. If set to 0, no shuffling will be done.
        :param data_loader_fn: function to generate the PyTorch DataLoader.

        See `SparkDatasetConverter.make_torch_dataloader()`  for the definitions
        of the other parameters.
        """
        self.parquet_file_url_list = parquet_file_url_list
        self.batch_size = batch_size
        self.petastorm_reader_kwargs = petastorm_reader_kwargs
        self.shuffling_queue_capacity = shuffling_queue_capacity
        self.data_loader_fn = data_loader_fn

        :param parquet_file_url_list: A string specifying the parquet file URL list.
        :param batch_size: The number of items to return per batch. Default ``None``.
            If ``None``, current implementation will set batch size to be 32, in future,
            ``None`` value will denotes auto tuned best value for batch size.
        :param petastorm_reader_kwargs: other arguments for petastorm reader
        :param shuffling_queue_capacity: Queue capacity is passed to the underlying
            :class:`tf.RandomShuffleQueue` instance. If set to 0, no shuffling will be done.
        :param data_loader_fn: function to generate the PyTorch DataLoader.

        See `SparkDatasetConverter.make_torch_dataloader()`  for the definitions
        of the other parameters.
        
petastorm/spark/spark_dataset_converter.py