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

Function get_features

scripts/release_notes/common.py:281–294  ·  view source on GitHub ↗
(commit_hash)

Source from the content-addressed store, hash-verified

279
280
281def get_features(commit_hash):
282 title, body, files_changed = (
283 commit_title(commit_hash),
284 commit_body(commit_hash),
285 commit_files_changed(commit_hash),
286 )
287 pr_number = parse_pr_number(body, commit_hash, title)
288 labels = []
289 author = ""
290 accepters = tuple()
291 if pr_number is not None:
292 labels, author, accepters = github_data(pr_number)
293 result = Features(title, body, pr_number, files_changed, labels, author, accepters)
294 return result
295
296
297_commit_data_cache = None

Callers 1

getMethod · 0.85

Calls 5

commit_titleFunction · 0.85
commit_bodyFunction · 0.85
commit_files_changedFunction · 0.85
parse_pr_numberFunction · 0.85
github_dataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…