

def run(self, index=None, doc_type=None):
    if (not doc_type):
        self.show_doc_type_list_panel(self.run)
        return
    self.settings.set('doc_type', doc_type)
    self.save_settings()
    self.show_active_server()
    index.track_command()

dataset/ETHPy150Open KunihikoKido/sublime-elasticsearch-client/commands/settings_select_doc_type.py SettingsSelectDocTypeCommand.run/VarMisuse@61/80 `self`->`index`