def __hash__(self):
        return hash(self._name)
Hash this instance using its logical id, not the sha
dataset/ETHPy150Open gitpython-developers/GitPython/git/objects/submodule/base.py/Submodule.__hash__