GitHubBranchCommitModel#
- pydantic model safir.github.models.GitHubBranchCommitModel#
A Pydantic model for the commit field found in
GitHubBranchModel
.- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "GitHubBranchCommitModel", "description": "A Pydantic model for the commit field found in `GitHubBranchModel`.", "type": "object", "properties": { "sha": { "title": "Sha", "description": "Git commit SHA.", "type": "string" }, "url": { "title": "Url", "description": "URL for commit resource.", "minLength": 1, "maxLength": 2083, "format": "uri", "type": "string" } }, "required": [ "sha", "url" ] }
-
field url:
HttpUrl
[Required]# URL for commit resource.
- Constraints:
minLength = 1
maxLength = 2083
format = uri