GitHubRepoOwnerModel#

pydantic model safir.github.models.GitHubRepoOwnerModel#

A Pydantic model for the owner field found in repository objects.

https://docs.github.com/en/rest/repos/repos#get-a-repository

Parameters:

data (Any) –

Show JSON schema
{
   "title": "GitHubRepoOwnerModel",
   "description": "A Pydantic model for the ``owner`` field found in repository objects.\n\nhttps://docs.github.com/en/rest/repos/repos#get-a-repository",
   "type": "object",
   "properties": {
      "login": {
         "description": "Login name of the owner (either a user or an organization).",
         "examples": [
            "lsst-sqre"
         ],
         "title": "Login name",
         "type": "string"
      }
   },
   "required": [
      "login"
   ]
}

Fields:
field login: str [Required]#

Login name of the owner (either a user or an organization).