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

Function load_pickle

relogic/logickit/base/utils.py:19–20  ·  view source on GitHub ↗
(path, memoized=True)

Source from the content-addressed store, hash-verified

17 return self.cache[args]
18
19def load_pickle(path, memoized=True):
20 return _load_pickle_memoize(path) if memoized else _load_pickle(path)
21
22def _load_pickle(path):
23 with open(path, 'rb') as f:

Callers

nothing calls this directly

Calls 2

_load_pickle_memoizeFunction · 0.85
_load_pickleFunction · 0.85

Tested by

no test coverage detected