

def run_request(self, name=None):
    if (name is None):
        self.show_input_panel('Alias Name: ', '', self.run)
        return
    options = dict(index=self.settings.index, name=name)
    return self.client.indices.put_alias(**options)

dataset/ETHPy150Open KunihikoKido/sublime-elasticsearch-client/commands/indices_put_alias.py IndicesPutAliasCommand.run_request/original