MCPcopy
hub / github.com/pallets/jinja / set_bucket

Method set_bucket

src/jinja2/bccache.py:183–185  ·  view source on GitHub ↗

Put the bucket into the cache.

(self, bucket: Bucket)

Source from the content-addressed store, hash-verified

181 return bucket
182
183 def set_bucket(self, bucket: Bucket) -> None:
184 """Put the bucket into the cache."""
185 self.dump_bytecode(bucket)
186
187
188class FileSystemBytecodeCache(BytecodeCache):

Callers 1

loadMethod · 0.80

Calls 1

dump_bytecodeMethod · 0.95

Tested by

no test coverage detected