MCPcopy Create free account
hub / github.com/apple/foundationdb / push_range

Method push_range

bindings/python/tests/tester.py:295–301  ·  view source on GitHub ↗
(self, inst, iter, prefix_filter=None)

Source from the content-addressed store, hash-verified

293 self.directory_extension = DirectoryExtension()
294
295 def push_range(self, inst, iter, prefix_filter=None):
296 kvs = []
297 for k, v in iter:
298 if prefix_filter is None or k.startswith(prefix_filter):
299 kvs += [k, v]
300
301 inst.push(fdb.tuple.pack(tuple(kvs)))
302
303 @staticmethod
304 @fdb.transactional

Callers 1

runMethod · 0.95

Calls 2

pushMethod · 0.45
packMethod · 0.45

Tested by

no test coverage detected