Appendix¶
Bug objects¶
-
Bug.assignee(User)¶ The user the issue is assigned to, if any.
-
Bug.body(str)¶ The full body of the issue.
-
Bug.body_html(str)¶ The full body of the issue rendered as HTML.
-
Bug.closed_at(datetime.datetime)¶ The date and time the issue was closed.
-
Bug.closed_by(User)¶ The user the issue was closed by, if closed.
-
Bug.comments(int)¶ The number of comments made on the issue.
-
Bug.created_at(datetime.datetime)¶ The date and time the issue was created.
-
Bug.labels(list)¶ Labelobjects associated with the issue.
-
Bug.milestone(str)¶ The milestone name associated with the issue, if any.
-
Bug.number(int)¶ The issue’s number.
-
Bug.pull_request(PullRequest)¶ Pull request data associated with the issue.
-
Bug.state(str)¶ State of the issue, either
openorclosed.
-
Bug.title(str)¶ The issue’s title.
-
Bug.updated_at(datetime.datetime)¶ The date and time when the issue was last updated.
-
Bug.user(User)¶ The GitHub user that created the issue.
Comment objects¶
-
Comment.body(str)¶ The full text of the comment.
-
Comment.body_html(str)¶ The full text of the comment rendered as HTML.
-
Comment.created_at(datetime.datetime)¶ The date and time the comment was created.
-
Comment.updated_at(datetime.datetime)¶ The date and time when the comment was last updated.
-
Comment.user(User)¶ The GitHub user that created the comment.
Label objects¶
-
Label.color¶ The colour value for the given label.
-
Label.name¶ The name given to the label.
PullRequest objects¶
-
PullRequest.diff_url(str)¶ URL for diff output associated with the issue.
-
PullRequest.patch_url(str)¶ URL for the git format-patch output associated with the issue.
Repository objects¶
-
Repository.clone_url(str)¶ Clone URL for fetching via HTTP.
-
Repository.created_at(datetime.datetime)¶ The date and time the repository was created.
-
Repository.description(str)¶ The description given to the repository
-
Repository.fork(bool)¶ Whether the repository is a fork of another on GitHub
-
Repository.forks(int)¶ The number of forks on GitHub
-
Repository.git_url(str)¶ Clone URL for fetching via
gitprotocol.
-
Repository.has_downloads(bool)¶ Whether the repository has downloads enabled
-
Repository.has_issues(bool)¶ Whether the repository has issues enabled
-
Repository.has_wiki(bool)¶ Whether the repository has the wiki enabled
-
Repository.homepage(str)¶ The homepage of the repository
-
Repository.html_url(str)¶ The main project page on GitHub
-
Repository.language(str)¶ The programming language used
-
Repository.master_branch(str)¶ The repository’s defined master branch
-
Repository.mirror_url(str)¶ The original location of a repository, if a mirror
-
Repository.name(str)¶ The repository’s name
-
Repository.open_issues(int)¶ The number of open issues in a repository
-
Repository.owner(User)¶ The owner of the repository
-
Repository.private(bool)¶ Whether the repository is set as private
-
Repository.pushed_at(datetime.datetime)¶ The last time the repository’s content was updated
-
Repository.size(int)¶ The size of the repository
-
Repository.watchers(int)¶ The number of watchers of the repository