(self, pr_branch)
| 77 | return r.json()['sha'] if r.ok else None |
| 78 | |
| 79 | def get_pr_number(self, pr_branch): |
| 80 | github_path = f"commits/{pr_branch}/pulls" |
| 81 | r = self.api_call(github_path) |
| 82 | return r.json()[0]['number'] |
| 83 | |
| 84 | def get_bucket_link(self, bucket): |
| 85 | return f'https://raw.githubusercontent.com/{self.OWNER}/{self.DATA_REPO}/refs/heads/{bucket}' |
no test coverage detected