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

Method switch_transaction

bindings/python/tests/tester.py:327–331  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

325 Tester.tr_map[self.tr_name] = tr_source.create_transaction()
326
327 def switch_transaction(self, name):
328 self.tr_name = name
329 with Tester.tr_map_lock:
330 if self.tr_name not in Tester.tr_map:
331 self.new_transaction()
332
333 def run(self):
334 for idx, i in enumerate(self.instructions):

Callers 1

runMethod · 0.95

Calls 1

new_transactionMethod · 0.95

Tested by

no test coverage detected