コード例 #1
0
ファイル: project.py プロジェクト: lachmanfrantisek/ogr
 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)
コード例 #2
0
ファイル: project.py プロジェクト: AHeadman-USGS/WaterGeoPy
 def create_issue(self, title: str, body: str) -> Issue:
     return GithubIssue.create(project=self, title=title, body=body)