GitHubBranchModel#
- pydantic model safir.github.models.GitHubBranchModel#
A Pydantic model for a GitHub branch.
https://docs.github.com/en/rest/branches/branches#get-a-branch
- Parameters:
name (
str)commit (
GitHubBranchCommitModel)
- Fields:
- field commit: GitHubBranchCommitModel [Required]#
HEAD commit info.