class_docstr: Wrap a list of datapoints to a DataFlow
class_docstr_tok: ["Wrap","a","list","of","datapoints","to","a","DataFlow"]
code: def __iter__(self):
      if not self.shuffle:
          yield from self.lst
      else:
          idxs = np.arange(len(self.lst))
          self.rng.shuffle(idxs)
          for k in idxs:
              yield self.lst[k]
  
imports: import copy
  import numpy
  import six
  from .base import DataFlow, RNGDataFlow
label_desc: Use image node_id 3 for calling the DataFromList obj's underlying member method code with example usage: obj.__iter__() without return types