python - clone url of a pull request -
i'm trying clone url of pull request. example in ruby using octokit library, can fetch head , base so, pr
pullrequest object: pr.head.repo.clone_url
or pr.base.repo.clone_url
. how can achieve same thing using github3.py?
github3.pull_request(owner, repo, number).as_dict()['head']['repo']['clone_url']