(project, num, body)
| 74 | return {'Authorization': 'token ' + get_auth_token().replace("\n","")} |
| 75 | |
| 76 | def 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 | |
| 81 | def post_gist(content, description='', filename='file', auth=False): |
| 82 | """Post some text to a Gist, and return the URL.""" |
nothing calls this directly
no test coverage detected
searching dependent graphs…