MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / getResultsJson

Function getResultsJson

pythonFiles/aggregateTestResults.py:52–60  ·  view source on GitHub ↗
(zipData)

Source from the content-addressed store, hash-verified

50
51
52def getResultsJson(zipData):
53 artifact = zipfile.ZipFile(io.BytesIO(zipData))
54 for name in artifact.namelist():
55 if name.endswith("results.json"):
56 print(f" parsing {name} from artifact with {artifact.namelist()}")
57 return json.loads(artifact.read(name))
58 else:
59 print("No results.json found in artifact")
60 return []
61
62
63def getResultsForRun(run):

Callers 1

getResultsForRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected