def create_issue(self, title: str, body: str, labels: Optional[List[str]] = None) -> Issue: return PagureIssue.create(project=self, title=title, body=body, labels=labels)
def get_issue_list( self, status: IssueStatus = IssueStatus.open, author: Optional[str] = None, assignee: Optional[str] = None, ) -> List[Issue]: return PagureIssue.get_list(project=self, status=status, author=author, assignee=assignee)
def create_issue( self, title: str, body: str, private: Optional[bool] = None, labels: Optional[List[str]] = None, ) -> Issue: return PagureIssue.create( project=self, title=title, body=body, labels=labels, private=private )
def get_issue(self, issue_id: int) -> Issue: return PagureIssue.get(project=self, id=issue_id)
def create_issue(self, title: str, body: str) -> Issue: return PagureIssue.create(project=self, title=title, body=body)
def get_issue_list(self, status: IssueStatus = IssueStatus.open) -> List[Issue]: return PagureIssue.get_list(project=self, status=status)