(self)
return version_info.get('number')
Get OpenSearch version.

        Returns:
          Version number as a string.
Get OpenSearch version.
Get OpenSearch version .
def version(self):
        """Get OpenSearch version.

        Returns:
          Version number as a string.
        """
        version_info = self.client.info().get('version')
        return version_info.get('number')
def version ( self ) : version_info = self . client . info ( ) . get ( 'version' ) return version_info . get ( 'number' )