code: def __init__(self, metapath, add_self_loops=True, **kwargs):
      super(WholeDataFlow, self).__init__(
          num_hops=len(metapath), add_self_loops=add_self_loops
      )
      self.neighbor_type = metapath[0]
      for n_type in metapath:
          if not n_type == self.neighbor_type:
              raise ValueError(
                  "Metapath should be the same in whole graph sampler."
              )
  
file_path: euler/tf_euler/python/dataflow/whole_dataflow.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  import tf_euler
  from tf_euler.python.dataflow.base_dataflow import DataFlow
  from tf_euler.python.dataflow.neighbor_dataflow import NeighborDataFlow
label_desc: Use image node_id 1 to create a new WholeDataFlow object from inherited base classes: NeighborDataFlow with example: obj = WholeDataFlow(metapath, add__loops)