MCPcopy Index your code
hub / github.com/apache/fory / _build_pyarray_serializer

Method _build_pyarray_serializer

python/pyfory/serializer.py:670–675  ·  view source on GitHub ↗
(self, type_resolver, type_id)

Source from the content-addressed store, hash-verified

668 self.need_to_write_ref = False
669
670 def _build_pyarray_serializer(self, type_resolver, type_id):
671 typecode = typeid_code.get(type_id)
672 if typecode is None:
673 return None
674 _itemsize, ftype, _type_id = typecode_dict[typecode]
675 return PyArraySerializer(type_resolver, ftype, type_id)
676
677 def _build_ndarray_serializer(self, type_resolver, type_id):
678 if np is None:

Callers 1

__init__Method · 0.95

Calls 2

PyArraySerializerClass · 0.85
getMethod · 0.65

Tested by

no test coverage detected