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

Method write_to_disk

scripts/release_notes/retrieve_prs_data.py:159–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

157 return data
158
159 def write_to_disk(self):
160 data = {commit: features._asdict() for commit, features in self.data.items()}
161 with open(self.path, "w") as f:
162 json.dump(data, f)
163
164
165def get_commits_between(base_version, new_version):

Callers 1

getMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected