MCPcopy Create free account
hub / github.com/PyWavelets/pywt / get

Method get

util/gh_lists.py:111–118  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

109 self.cache = {}
110
111 def get(self, url):
112 if url not in self.cache:
113 data = self._getter.get_multipage(url)
114 self.cache[url] = data
115 return data
116 else:
117 print("[gh_lists] (cached):", url, file=sys.stderr, flush=True)
118 return self.cache[url]
119
120 def save(self):
121 tmp = self.filename + ".new"

Callers 7

idwtnFunction · 0.45
test_idwtn_missingFunction · 0.45
preprocess_notebooksFunction · 0.45
analyze_lineFunction · 0.45
_minimal_ext_cmdFunction · 0.45
get_milestonesFunction · 0.45
get_issuesFunction · 0.45

Calls 1

get_multipageMethod · 0.80

Tested by 1

test_idwtn_missingFunction · 0.36