Fetch_git_sha equivalent in the unified python sdk

Hi, you can set the release on init like this:

init(..., release="my git hash")

However, there is no equivalent to fetch_git_sha in the new SDK! We felt that it did something quite unrelated to the SDK’s core function (fetch current HEAD of the git repo) and also a bit specific to how you deploy your code, so we didn’t port it.

You have a bunch of options right now:

2 Likes