class_docstr: Dataloader which wraps another dataloader and only returns a limited
  number of items.
  
  This is useful for Iterable datasets where the length of the datasets isn't known.
  Such datasets can wrap their returned iterators with this class. See
  :func:`SyntheticImageStreamingDataset.iterator` for an example.
  
  Attribute accesses are passed to the wrapped dataloader.
code: def __len__(self) -> int:
      return self.limit
  
file_path: ClassyVision/classy_vision/dataset/dataloader_limit_wrapper.py
imports: import logging
  from typing import Any, Iterable, Iterator
  from .dataloader_wrapper import DataloaderWrapper
label_desc: Use image node_id 4 for calling the DataloaderLimitWrapper obj's underlying member method code with example usage: obj.__len__() and returns: self