GitHubCheckRunPrInfoModel#

pydantic model safir.github.models.GitHubCheckRunPrInfoModel#

A Pydantic model of the pull_requests[] items in a check run GitHub API model (GitHubCheckRunModel).

https://docs.github.com/en/rest/checks/runs#get-a-check-run

Parameters:

data (Any) –

Show JSON schema
{
   "title": "GitHubCheckRunPrInfoModel",
   "description": "A Pydantic model of the ``pull_requests[]`` items in a check run\nGitHub API model (`GitHubCheckRunModel`).\n\nhttps://docs.github.com/en/rest/checks/runs#get-a-check-run",
   "type": "object",
   "properties": {
      "url": {
         "description": "GitHub API URL for this pull request.",
         "format": "uri",
         "maxLength": 2083,
         "minLength": 1,
         "title": "Url",
         "type": "string"
      }
   },
   "required": [
      "url"
   ]
}

Fields:
field url: HttpUrl [Required]#

GitHub API URL for this pull request.

Constraints:
  • max_length = 2083

  • allowed_schemes = [‘http’, ‘https’]

model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#

A dictionary of computed field names and their corresponding ComputedFieldInfo objects.