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

Method doIO

lib/py/src/protocol/TJSONProtocol.py:113–117  ·  view source on GitHub ↗
(self, function)

Source from the content-addressed store, hash-verified

111class JSONListContext(JSONBaseContext):
112
113 def doIO(self, function):
114 if self.first is True:
115 self.first = False
116 else:
117 function(COMMA)
118
119 def write(self):
120 self.doIO(self.protocol.trans.write)

Callers 2

writeMethod · 0.95
readMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected