MCPcopy
hub / github.com/pytorch/vision / main

Function main

scripts/release_notes/retrieve_prs_data.py:188–197  ·  view source on GitHub ↗
(base_version, new_version)

Source from the content-addressed store, hash-verified

186
187
188def main(base_version, new_version):
189 hashes, titles = get_commits_between(base_version, new_version)
190
191 cdc = CommitDataCache("data.json")
192 for idx, commit in enumerate(hashes):
193 if idx % 10 == 0:
194 print(f"{idx} / {len(hashes)}")
195 cdc.get(commit)
196
197 return cdc
198
199
200if __name__ == "__main__":

Callers 1

Calls 4

getMethod · 0.95
get_commits_betweenFunction · 0.85
CommitDataCacheClass · 0.85
printFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…