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": {
         "title": "Url",
         "description": "GitHub API URL for this pull request.",
         "minLength": 1,
         "maxLength": 2083,
         "format": "uri",
         "type": "string"
      }
   },
   "required": [
      "url"
   ]
}

Fields:
field url: HttpUrl [Required]#

GitHub API URL for this pull request.

Constraints:
  • minLength = 1

  • maxLength = 2083

  • format = uri