MCPcopy Create free account
hub / github.com/pytorch/pytorch / update_commit

Method update_commit

scripts/release_notes/categorize.py:183–188  ·  view source on GitHub ↗
(self, commit, category, topic)

Source from the content-addressed store, hash-verified

181 return None
182
183 def update_commit(self, commit, category, topic):
184 assert category in common.categories
185 assert topic in topics
186 commit.category = category
187 commit.topic = topic
188 self.commits.write_result()
189
190
191def main():

Callers 1

handle_commitMethod · 0.95

Calls 1

write_resultMethod · 0.80

Tested by

no test coverage detected