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

Method read

lib/py/test/test_immutable_exception.py:129–132  ·  view source on GitHub ↗
(cls, iprot)

Source from the content-addressed store, hash-verified

127
128 @classmethod
129 def read(cls, iprot):
130 if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and cls.thrift_spec is not None:
131 return iprot._fast_decode(None, iprot, [cls, cls.thrift_spec])
132 return iprot.readStruct(cls, cls.thrift_spec, False)
133
134
135class TestImmutableExceptionDeserialization(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

readStructMethod · 0.45

Tested by

no test coverage detected