client.scripts.post_python3_git_checkout

A method of the Scripts endpoint.

post_python3_git_checkout(id: int) Response

Checkout content that the existing git_ref points to and save to the object

API URL: POST /scripts/python3/{id}/git/checkout

import civis
client = civis.APIClient()
response = client.scripts.post_python3_git_checkout(...)
Parameters:
idint

The ID of the item.

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.