Пример #1
0
 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)
Пример #2
0
 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
     )
Пример #3
0
 def create_issue(self, title: str, body: str) -> Issue:
     return PagureIssue.create(project=self, title=title, body=body)