code: def test_external_source_scalar_list():
      batch_size = 3
      label_data = 10
      lists = []
      scalars = []
      for i in range(batch_size):
          lists.append([label_data + i])
          scalars.append(label_data + i * 10)
      for external_data in [lists, scalars]:
          yield external_data_veri, external_data, batch_size
  
imports: import functools
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.ops
  from nvidia.dali import Pipeline
  from nose_utils import assert_raises
  from test_utils import check_output
label_desc: Use image node_id 30 for calling a global function with example usage: test_external_source_scalar_list() without return types