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

Function post_issue_comment

tools/gh_api.py:76–79  ·  view source on GitHub ↗
(project, num, body)

Source from the content-addressed store, hash-verified

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'
78 payload = json.dumps({'body': body})
79 requests.post(url, data=payload, headers=make_auth_header())
80
81def post_gist(content, description='', filename='file', auth=False):
82 """Post some text to a Gist, and return the URL."""

Callers

nothing calls this directly

Calls 1

make_auth_headerFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…