get_git_hash

get_git_hash() str | None[source]

Get the git hash.

Returns:

The git hash, equals ‘UNHASHED’ if encountered CalledProcessError, signifying that the code is not installed in development mode.