1

This seems to be supported in the github web api, but I found no example in the docs and it doesn't seem to have been implemented in the API.

Am I missing something? Is it possible to create a PR through github3 python API?

4

1 回答 1

2

The relevant method is Repository.create_pull:

http://github3py.readthedocs.org/en/master/repos.html#github3.repos.repo.Repository.create_pull

To use it, get a Repository instance of the repo you're interested in, then call 'create_pull' with the ref of the head of the pull request.

于 2015-07-09T17:28:35.560 回答