MCPcopy Create free account
hub / github.com/pyload/pyload / load_bytecode

Method load_bytecode

module/lib/jinja2/bccache.py:271–274  ·  view source on GitHub ↗
(self, bucket)

Source from the content-addressed store, hash-verified

269 self.timeout = timeout
270
271 def load_bytecode(self, bucket):
272 code = self.client.get(self.prefix + bucket.key)
273 if code is not None:
274 bucket.bytecode_from_string(code)
275
276 def dump_bytecode(self, bucket):
277 args = (self.prefix + bucket.key, bucket.bytecode_to_string())

Callers

nothing calls this directly

Calls 2

bytecode_from_stringMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected