GitHubBlobModel¶
- pydantic model safir.github.models.GitHubBlobModel¶
A Pydantic model for a blob, returned by the GitHub blob endpoint.
See https://docs.github.com/en/rest/git/blobs#get-a-blob
- Parameters:
data (
Any
)- Fields:
- field encoding: str [Required]¶
Content encoding (typically base64).
- field sha: str [Required]¶
Git SHA of tree object.
- field size: int [Required]¶
Size of the content in bytes.
- field url: HttpUrl [Required]¶
API URL of this resource.