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

Method pushContext

lib/py/src/protocol/TJSONProtocol.py:198–200  ·  view source on GitHub ↗
(self, ctx)

Source from the content-addressed store, hash-verified

196 self.reader = LookaheadReader(self)
197
198 def pushContext(self, ctx):
199 self.contextStack.append(ctx)
200 self.context = ctx
201
202 def popContext(self):
203 self.contextStack.pop()

Callers 4

writeJSONObjectStartMethod · 0.95
writeJSONArrayStartMethod · 0.95
readJSONObjectStartMethod · 0.95
readJSONArrayStartMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected