(self, *args)
| 12 | self.cache = {} |
| 13 | |
| 14 | def __call__(self, *args): |
| 15 | if args not in self.cache: |
| 16 | self.cache[args] = self.f(*args) |
| 17 | return self.cache[args] |
| 18 | |
| 19 | def load_pickle(path, memoized=True): |
| 20 | return _load_pickle_memoize(path) if memoized else _load_pickle(path) |
nothing calls this directly
no outgoing calls
no test coverage detected