Beispiel #1
0
 def create_issue(
     self,
     title: str,
     body: str,
     private: Optional[bool] = None,
     labels: Optional[List[str]] = None,
 ) -> Issue:
     if private:
         raise NotImplementedError("Private issues are not supported by Github")
     return GithubIssue.create(project=self, title=title, body=body, labels=labels)
Beispiel #2
0
 def create_issue(self, title: str, body: str) -> Issue:
     return GithubIssue.create(project=self, title=title, body=body)