@property
    def commit(self):
        obj = self.object
        if obj.type == "commit":
            return obj
        elif obj.type == "tag":
            # it is a tag object which carries the commit as an object - we can point to anything
            return obj.object
        else:
            raise ValueError("Tag %s points to a Blob or Tree - have never seen that before" % self)
Set a callback that will be called when the state of flow control has
dataset/ETHPy150Open gitpython-developers/GitPython/git/refs/tag.py/TagReference.commit--crossover with--dataset/ETHPy150Open agoragames/haigha/haigha/classes/channel_class.py/ChannelClass.set_flow_cb