class_docstr: Wrap an iterable of datapoints to a DataFlow
class_docstr_tok: ["Wrap","an","iterable","of","datapoints","to","a","DataFlow"]
docstr: Args:
      iterable: an iterable object
docstr_tok: ["Args",":","iterable",":","an","iterable","object"]
code: def __init__(self, iterable):
      """
      Args:
          iterable: an iterable object
      """
      self._itr = iterable
      try:
          self._len = len(iterable)
      except Exception:
          self._len = None
  
imports: import copy
  import numpy
  import six
  from .base import DataFlow, RNGDataFlow
label_desc: Use image node_id 1 to create a new DataFromIterable object from inherited base classes: DataFlow with example: obj = DataFromIterable(iterable)