def server_version(self) -> Version:
        """Get the version of Livy running on the server."""
        if self._server_version_cache is None:
            data = self._client.get("/version")
            self._server_version_cache = Version(data["version"])
        return self._server_version_cache
def server_version ( self ) -> Version : if self . _server_version_cache is None : data = self . _client . get ( "/version" ) self . _server_version_cache = Version ( data [ "version" ] ) return self . _server_version_cache
Get the version of Livy running on the server.