code: def cluster_version(self):
          
          versionstr = self.client.info()['version']['number']
          return [int(x) for x in versionstr.split('.')]
docs: Get version of Elasticsearch running on the cluster.