MCPcopy Create free account
hub / github.com/ipython/ipython / get_pulls_list

Function get_pulls_list

tools/gh_api.py:151–160  ·  view source on GitHub ↗

get pull request list

(project, auth=False, **params)

Source from the content-addressed store, hash-verified

149 return results
150
151def get_pulls_list(project, auth=False, **params):
152 """get pull request list"""
153 params.setdefault("state", "closed")
154 url = "https://api.github.com/repos/{project}/pulls".format(project=project)
155 if auth:
156 headers = make_auth_header()
157 else:
158 headers = None
159 pages = get_paged_request(url, headers=headers, **params)
160 return pages
161
162def get_issues_list(project, auth=False, **params):
163 """get issues list"""

Callers

nothing calls this directly

Calls 3

make_auth_headerFunction · 0.85
get_paged_requestFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected