code: def get_iter(args, graph_wrapper, mode):
      data = load_data()
      train_iter = multiprocess_graph_reader(
          graph_wrapper,
          samples=args.samples,
          num_workers=args.num_sample_workers,
          batch_size=args.batch_size,
          node_index=data["train_index"],
          node_label=data["train_label"],
      )
      return train_iter
  
file_path: PGL/legacy/examples/distribute_graphsage/reader.py
imports: import os
  import sys
  import numpy
  import pickle
  import paddle
  import paddle.fluid
  import socket
  import pgl
  import time
  from pgl.utils import mp_reader
  from pgl.utils.logger import log
  from pgl import redis_graph
label_desc: Use image node_id 7 for calling a global function with example usage: get_iter(args, graph_wrapper, mode) and returns: train_iter