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

Method read

python/pyfory/tests/test_cross_language.py:621–627  ·  view source on GitHub ↗
(self, read_context)

Source from the content-addressed store, hash-verified

619 write_context.write_ref(value.f3)
620
621 def read(self, read_context):
622 obj = ComplexObject1(*([None] * len(typing.get_type_hints(ComplexObject1).keys())))
623 read_context.reference(obj)
624 obj.f1 = read_context.read_ref()
625 obj.f2 = read_context.read_ref()
626 obj.f3 = read_context.read_ref()
627 return obj
628
629
630@cross_language_test

Callers

nothing calls this directly

Calls 4

ComplexObject1Class · 0.70
referenceMethod · 0.65
keysMethod · 0.45
read_refMethod · 0.45

Tested by

no test coverage detected