MCPcopy Create free account
hub / github.com/SplootCode/splootcode / toDict

Method toDict

python/executor.py:893–902  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

891 self.lastException["lineno"] = lineno
892
893 def toDict(self):
894 cap = {"root": self.root.toDict(), "detached": {}}
895 if self.lastException:
896 cap["lastException"] = self.lastException
897 for id in self.detachedFrames:
898 cap['detached'][id] = {
899 'count': self.detachedFramesCount[id],
900 'frames': [context.toDict() for context in self.detachedFrames[id]]
901 }
902 return cap
903
904
905capture = None

Callers 2

executePythonFileFunction · 0.95
fFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected