Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ get_pr_number
Function
get_pr_number
tools/python/cherry_picking_issue.py:34–35 ·
view source on GitHub ↗
(commit_hash)
Source
from the content-addressed store, hash-verified
32
33
34
def
get_pr_number(commit_hash):
35
return
gh_api(f
"repos/{REPO}/commits/{commit_hash}/pulls"
,
".[0].number"
)
36
37
38
def
get_pr_info(pr_number):
Callers
1
main
Function · 0.85
Calls
1
gh_api
Function · 0.85
Tested by
no test coverage detected