As our Issue is primarily a wrapper for PyGithub's github.Issue, the best thing is to make use an instance of that to wrap most of our functionality. It looks like we just need to give the appropriate headers and attributes (which seem to be stored in github.Issue._headers and github.Issue._rawData, respectively, for actual issues). See GithubObject.__init__.
Needs are:
We'll count on PyGithub's testing to ensure that calls to the GitHub API still work.
As our
Issueis primarily a wrapper for PyGithub'sgithub.Issue, the best thing is to make use an instance of that to wrap most of our functionality. It looks like we just need to give the appropriateheadersandattributes(which seem to be stored ingithub.Issue._headersandgithub.Issue._rawData, respectively, for actual issues). SeeGithubObject.__init__.Needs are:
Issuethat does have front matter, and one that does not_issue.get_timeline()method:issuemethods based on this test setupNoIssueWe'll count on PyGithub's testing to ensure that calls to the GitHub API still work.