def __init__(self, fetcher, **kwargs):
        """
        :param fetcher: An object with a `fetch` generator method that
                        retrieves items for the fetchable.
        :param nice_repr: Append the repr of a list containing the items that
                          have been fetched to this point by the fetcher.
                          Defaults to True.
        :param kwargs: Arguments that should be passed to the fetcher when it's
                       fetch method is called. These are stored on the fetchable
                       so they can be passed to the fetcher whenever
                       :meth:`refresh` is called.
        """
        self._fetcher = fetcher
        self._kwargs = kwargs
        self.refresh()
def __init__ ( self , fetcher , ** kwargs ) : self . _fetcher = fetcher self . _kwargs = kwargs self . refresh ( )
:param fetcher: An object with a `fetch` generator method that
                        retrieves items for the fetchable.
        :param nice_repr: Append the repr of a list containing the items that
                          have been fetched to this point by the fetcher.
                          Defaults to True.
        :param kwargs: Arguments that should be passed to the fetcher when it's
                       fetch method is called. These are stored on the fetchable
                       so they can be passed to the fetcher whenever
                       :meth:`refresh` is called.