MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / make_auth_header

Function make_auth_header

tools/gh_api.py:73–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 return token
72
73def make_auth_header():
74 return {'Authorization': 'token ' + get_auth_token().replace("\n","")}
75
76def post_issue_comment(project, num, body):
77 url = f'https://api.github.com/repos/{project}/issues/{num}/comments'

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…