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

Method read

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

Source from the content-addressed store, hash-verified

97
98 @classmethod
99 def read(cls, iprot):
100 if iprot._fast_decode is not None and isinstance(iprot.trans, TTransport.CReadableTransport) and cls.thrift_spec is not None:
101 return iprot._fast_decode(None, iprot, [cls, cls.thrift_spec])
102 return iprot.readStruct(cls, cls.thrift_spec, True)
103
104
105class MutableException(TException):

Callers

nothing calls this directly

Calls 1

readStructMethod · 0.45

Tested by

no test coverage detected