nemo_gym.utils.gym_commit
nemo_gym.utils.gym_commit
The git commit of the nemo-gym that is running.
Module Contents
Functions
Data
API
The commit recorded in the distribution’s PEP 610 direct_url.json, or None.
HEAD of the git checkout package_dir is tracked in, -dirty when it has uncommitted changes.
Return the git commit of the nemo-gym that is running, or None when it cannot be determined.
A git install (pip install git+...) records its commit in the distribution
metadata. Otherwise the running package’s own source tree is asked: a git
checkout reports its HEAD, suffixed -dirty when it has uncommitted changes.