Commit¶
-
class
github.Commit.
Commit
¶ This class represents Commits.
The reference can be found here https://docs.github.com/en/rest/reference/git#commits
-
create_comment
(body: str, line: Opt[int] = NotSet, path: Opt[str] = NotSet, position: Opt[int] = NotSet) → CommitComment¶
-
create_status
(state: str, target_url: Opt[str] = NotSet, description: Opt[str] = NotSet, context: Opt[str] = NotSet) → CommitStatus¶
-
get_comments
() → PaginatedList[CommitComment]¶
-
get_statuses
() → PaginatedList[CommitStatus]¶
-
get_combined_status
() → CommitCombinedStatus¶
-
get_pulls
() → PaginatedList[PullRequest]¶
-
get_check_runs
(check_name: Opt[str] = NotSet, status: Opt[str] = NotSet, filter: Opt[str] = NotSet) → PaginatedList[CheckRun]¶
-
get_check_suites
(app_id: Opt[int] = NotSet, check_name: Opt[str] = NotSet) → PaginatedList[CheckSuite]¶
-