Module aiogithubapi.models.pull_request

GitHub pull_request data model.

Expand source code
"""GitHub pull_request data model."""
from __future__ import annotations

from .issue import GitHubIssueModel


class GitHubPullRequestModel(GitHubIssueModel):
    """GitHub pull_request data model."""

    diff_url: str | None = None
    patch_url: str | None = None
    issue_url: str | None = None
    merged_at: str | None = None
    merge_commit_sha: str | None = None
    requested_reviewers: list[dict] | None = None
    requested_teams: list[dict] | None = None
    draft: bool | None = None
    head: dict | None = None
    base: dict | None = None
    auto_merge: bool | None = None
    commits_url: str | None = None
    review_comments_url: str | None = None
    review_comment_url: str | None = None
    statuses_url: str | None = None

Classes

class GitHubPullRequestModel (data: Dict[str, Any])

GitHub pull_request data model.

Init.

Expand source code
class GitHubPullRequestModel(GitHubIssueModel):
    """GitHub pull_request data model."""

    diff_url: str | None = None
    patch_url: str | None = None
    issue_url: str | None = None
    merged_at: str | None = None
    merge_commit_sha: str | None = None
    requested_reviewers: list[dict] | None = None
    requested_teams: list[dict] | None = None
    draft: bool | None = None
    head: dict | None = None
    base: dict | None = None
    auto_merge: bool | None = None
    commits_url: str | None = None
    review_comments_url: str | None = None
    review_comment_url: str | None = None
    statuses_url: str | None = None

Ancestors

Class variables

var auto_merge : bool | None
var base : dict | None
var commits_url : str | None
var diff_url : str | None
var draft : bool | None
var head : dict | None
var issue_url : str | None
var merge_commit_sha : str | None
var merged_at : str | None
var patch_url : str | None
var requested_reviewers : list[dict] | None
var requested_teams : list[dict] | None
var review_comment_url : str | None
var review_comments_url : str | None
var statuses_url : str | None

Inherited members