MCPcopy Create free account
hub / github.com/ccagml/leetcode-extension / makeMessage

Function makeMessage

resources/debug/entry/python3/entry.py:319–327  ·  view source on GitHub ↗
(ty, message)

Source from the content-addressed store, hash-verified

317
318
319def makeMessage(ty, message):
320 return json.dumps({
321 "type": ty,
322 "message": message,
323 "problemNum": problemNum,
324 "filePath": sys.argv[1],
325 "testString": testString,
326 "language": "python",
327 }).encode("utf-8")
328
329
330if __name__ == "__main__":

Callers 1

entry.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected