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

Method value

bindings/python/fdb/impl.py:803–815  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

801
802 @replaceable_property
803 def value(self):
804 self.block_until_ready()
805
806 try:
807 self._getter()
808 self._release_memory()
809
810 except:
811 e = sys.exc_info()
812 if not (isinstance(e[1], FDBError) and e[1].code == 1102): # future_released
813 raise
814
815 return self.value
816
817
818# This is a workaround to avoid a compiler issue as described here:

Callers

nothing calls this directly

Calls 3

_getterMethod · 0.95
_release_memoryMethod · 0.80
block_until_readyMethod · 0.45

Tested by

no test coverage detected