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

Method _replace

python/pyfory/struct.py:790–793  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

788 return self._replace().read(read_context)
789
790 def _replace(self):
791 typeinfo = self.type_resolver.get_type_info(self.type_)
792 typeinfo.serializer = DataClassSerializer(self.type_resolver, self.type_)
793 return typeinfo.serializer
794
795
796basic_types = {

Callers 3

writeMethod · 0.95
readMethod · 0.95
test_struct_hashFunction · 0.80

Calls 2

DataClassSerializerClass · 0.85
get_type_infoMethod · 0.45

Tested by 1

test_struct_hashFunction · 0.64