code: def test_wds_index_file_pipeline():
      idx_files = glob.glob(test_data_root + "/*.idx")
      for idx_path in idx_files:
          for device in ["cpu", "gpu"]:
              yield _test_wds_index_file_pipeline, idx_path, device
  
imports: from nvidia.dali import pipeline_def, fn
  import os
  import glob
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 3 for calling a global function with example usage: test_wds_index_file_pipeline() without return types