def version(self):
        """Return (generating first if needed) version hash."""
        if not self._version:
            self._version = hashlib.md5(self.rendered.encode()).hexdigest()[:8]
        return self._version
def version ( self ) : if not self . _version : self . _version = hashlib . md5 ( self . rendered . encode ( ) ) . hexdigest ( ) [ : 8 ] return self . _version
Return (generating first if needed) version hash.