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

Function make_auth_header

tools/gh_api.py:81–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 return token
80
81def make_auth_header():
82 return {'Authorization': 'token ' + get_auth_token()}
83
84def post_issue_comment(project, num, body):
85 url = 'https://api.github.com/repos/{project}/issues/{num}/comments'.format(project=project, num=num)

Callers 10

issues_closed_sinceFunction · 0.90
post_issue_commentFunction · 0.85
post_gistFunction · 0.85
get_pull_requestFunction · 0.85
get_pull_request_filesFunction · 0.85
get_pulls_listFunction · 0.85
get_issues_listFunction · 0.85
get_milestonesFunction · 0.85
get_authorsFunction · 0.85
post_downloadFunction · 0.85

Calls 1

get_auth_tokenFunction · 0.85

Tested by

no test coverage detected