def flush(self, indexes=['_all'], refresh=False):
        path = self._make_path([','.join(indexes), '_flush'])
        args = {}
        if refresh:
            args['refresh'] = "true"
        self.send_request('POST', path, query_string_args=args)
        return True
Hit a simple push endpoint to send a notification to a user.
dataset/ETHPy150Open eriky/ESClient/esclient.py/ESClient.flush--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/notifications/tasks.py/_send_simple_push