MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / __call__

Method __call__

relogic/logickit/base/utils.py:14–17  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

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
19def load_pickle(path, memoized=True):
20 return _load_pickle_memoize(path) if memoized else _load_pickle(path)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected