code: def new_dataloader(config_dict=None, config_file_list=None):
      config = Config(
          config_dict=config_dict, config_file_list=config_file_list
      )
      init_seed(config["seed"], config["reproducibility"])
      logging.basicConfig(level=logging.ERROR)
      dataset = create_dataset(config)
      return data_preparation(config, dataset)
  
file_path: RecBole/tests/data/test_dataloader.py
imports: import logging
  import os
  import pytest
  from recbole.data.dataloader.general_dataloader import NegSampleEvalDataLoader, FullSortEvalDataLoader
  from recbole.config import Config
  from recbole.data import create_dataset, data_preparation
  from recbole.utils import init_seed
label_desc: Use image node_id 1 for calling a global function with example usage: new_dataloader(config_dict, config_file_list) and returns: data_preparation