def get_pr_list(self, status: PRStatus = PRStatus.open, assignee=None, author=None) -> List[PullRequest]: return PagurePullRequest.get_list(project=self, status=status, assignee=assignee, author=author)
def create_pr( self, title: str, body: str, target_branch: str, source_branch: str, fork_username: str = None, ) -> PullRequest: return PagurePullRequest.create( project=self, title=title, body=body, target_branch=target_branch, source_branch=source_branch, )
def get_pr(self, pr_id: int) -> PullRequest: return PagurePullRequest.get(project=self, id=pr_id)