MCPcopy Create free account
hub / github.com/apache/fory / reference

Method reference

python/pyfory/resolver.py:211–215  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

209 return bool(self.read_ref_ids)
210
211 def reference(self, obj):
212 ref_id = self.read_ref_ids.pop()
213 if ref_id < 0:
214 return
215 self.set_read_ref(ref_id, obj)
216
217 def get_read_ref(self, id_=None):
218 if id_ is None:

Callers

nothing calls this directly

Calls 2

set_read_refMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected