code: def ray_partitions_get_data_label(
      partition_list, allow_tuple=True, allow_list=True, has_label=True
  ):
      partition_data = [
          item for partition in partition_list for item in partition
      ]
      data, label = ray_partition_get_data_label(
          partition_data,
          allow_tuple=allow_tuple,
          allow_list=allow_list,
          has_label=has_label,
      )
      return data, label
  
imports: import os
  import numpy
  from zoo.common import get_file_list
  from zoo.util.utils import convert_row_to_numpy
label_desc: Use image node_id 8 for calling a global function with example usage: ray_partitions_get_data_label(partition_list, allow_tuple, allow_list, has_label) and returns: data,  label