(self, cache, *args, **kwargs)
| 31 | """ |
| 32 | |
| 33 | def __init__(self, cache, *args, **kwargs): |
| 34 | try: |
| 35 | import cachey |
| 36 | except ImportError as ex: |
| 37 | raise type(ex)(f'Cache requires cachey, "{ex}" problem importing') from ex |
| 38 | self._nbytes = cachey.nbytes |
| 39 | if isinstance(cache, Number): |
| 40 | cache = cachey.Cache(cache, *args, **kwargs) |
| 41 | else: |
| 42 | assert not args and not kwargs |
| 43 | self.cache = cache |
| 44 | self.starttimes = dict() |
| 45 | |
| 46 | def _start(self, dsk): |
| 47 | self.durations = dict() |
nothing calls this directly
no outgoing calls
no test coverage detected