MCPcopy Create free account
hub / github.com/apache/tvm / create_pr_dict

Function create_pr_dict

tests/scripts/release/make_notes.py:110–123  ·  view source on GitHub ↗
(cache: Path)

Source from the content-addressed store, hash-verified

108
109
110def create_pr_dict(cache: Path):
111 with open(cache, "rb") as f:
112 data = pickle.load(f)
113
114 sprint(data[1])
115 pr_dict = {}
116 for item in data:
117 prs = item["associatedPullRequests"]["nodes"]
118 if len(prs) != 1:
119 continue
120
121 pr = prs[0]
122 pr_dict[pr["number"]] = pr
123 return pr_dict
124
125
126def categorize_csv_file(csv_path: str):

Callers 1

make_notes.pyFile · 0.85

Calls 2

sprintFunction · 0.70
loadMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…