client.scripts.get_python3_git_commits
A method of the Scripts endpoint.
- get_python3_git_commits(id: int, commit_hash: str) Response
Get file contents at git ref
API URL:
GET /scripts/python3/{id}/git/commits/{commit_hash}import civis client = civis.APIClient() response = client.scripts.get_python3_git_commits(...)
- Parameters:
- idint
The ID of the item.
- commit_hashstr
The SHA (full or shortened) of the desired git commit.
- Returns:
civis.Response- contentstr
The file’s contents.
- typestr
The file’s type.
- sizeint
The file’s size.
- file_hashstr
The SHA of the file.