def get_indexes(self, schema, **kwargs):
        """
        get all the indexes

        schema -- Schema()

        return -- dict -- the indexes in {indexname: fields} format
        """
        with self.connection(**kwargs) as connection:
            kwargs['connection'] = connection
            return self._get_indexes(schema, **kwargs)
def get_indexes ( self , schema , ** kwargs ) : with self . connection ( ** kwargs ) as connection : kwargs [ 'connection' ] = connection return self . _get_indexes ( schema , ** kwargs )
get all the indexes

        schema -- Schema()

        return -- dict -- the indexes in {indexname: fields} format