@property
def version(self):
    'Get Elasticsearch version.\n\n        Returns:\n          Version number as a string.\n        '
    version_info = self.client.info().get('version')
    return version_info.get('number')
Get Elasticsearch version.

Returns:
  Version number as a string.
@property
def version(self):
    'Get Elasticsearch version.\n\n        Returns:\n          Version number as a string.\n        '
    version_info = self.client.info().get('version')
    return version_info.get('number')