client.scripts.post_python3_git_checkout_latest

A method of the Scripts endpoint.

post_python3_git_checkout_latest(id: int) Response

Checkout latest commit on the current branch of a script or workflow

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

import civis
client = civis.APIClient()
response = client.scripts.post_python3_git_checkout_latest(...)
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.