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

Method __init__

python/pyfory/serializer.py:406–408  ·  view source on GitHub ↗
(self, type_resolver, type_)

Source from the content-addressed store, hash-verified

404
405class DecimalSerializer(Serializer):
406 def __init__(self, type_resolver, type_):
407 super().__init__(type_resolver, type_)
408 self.need_to_write_ref = False
409
410 def write(self, write_context, value: decimal.Decimal):
411 scale, unscaled = _decimal_parts(value)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected