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

Method from_row

python/pyfory/format/encoder.py:55–58  ·  view source on GitHub ↗
(self, binary: bytes)

Source from the content-addressed store, hash-verified

53 return self.row_encoder.to_row(obj)
54
55 def from_row(self, binary: bytes):
56 buf = pyfory.Buffer(binary, 0, len(binary))
57 row = pyfory.RowData(self.schema, buf)
58 return self.row_encoder.from_row(row)
59
60
61def encoder(clz=None, schema=None):

Callers 8

test_encodeFunction · 0.80
test_decodeFunction · 0.80
decodeMethod · 0.80
test_encodeFunction · 0.80
test_dictFunction · 0.80
test_intsFunction · 0.80
test_basicFunction · 0.80

Calls 1

BufferMethod · 0.45

Tested by 7

test_encodeFunction · 0.64
test_decodeFunction · 0.64
test_encodeFunction · 0.64
test_dictFunction · 0.64
test_intsFunction · 0.64
test_basicFunction · 0.64