def __init__(self, cache, *args, **kwargs):
        try:
            import cachey
        except __HOLE__ as ex:
            raise ImportError('Cache requires cachey, "{ex}" problem '
                              'importing'.format(ex=str(ex)))
        self._nbytes = cachey.nbytes
        if isinstance(cache, Number):
            cache = cachey.Cache(cache, *args, **kwargs)
        else:
            assert not args and not kwargs
        self.cache = cache
        self.starttimes = dict()
dataset/ETHPy150Open dask/dask/dask/cache.py/Cache.__init__