Description:

            Get remote button list
            Returns an list of all available remote buttons
7046
def get_remote_button_list(self):
        
        remote_buttons = []
        for key in self.command['remote']:
            if self.command['remote'][key] != '':
                remote_buttons.append(key)
        return remote_buttons
653228
public Iterable<RemoteInstanceDetails> getLogLists() {
		ArrayList<RemoteInstanceDetails> result = new ArrayList<RemoteInstanceDetails>();
		for (Date startTime: resultList) {
			result.add(new RemoteInstanceDetails(query, startTime, new String[0]));
		}
		return result;
	}
479660
def remotesByConnected(self):
        
        conns, disconns = [], []
        for r in self.remotes.values():
            array = conns if self.isRemoteConnected(r) else disconns
            array.append(r)
        return conns, disconns
1083671
protected List<CmsPushButton> getButtons() {

        CmsPushButton workplaceButton = new CmsPushButton();
        workplaceButton.setText(getMessage(Messages.GUI_CONFIRMATION_WORKPLACE_BUTTON_0));
        workplaceButton.addClickHandler(new ClickHandler() {

            @SuppressWarnings("synthetic-access")
            public void onClick(ClickEvent e) {

                Window.Location.assign(m_closeLink);
            }
        });
        List<CmsPushButton> result = new ArrayList<CmsPushButton>();
        if (m_isWorkplaceUser) {
            result.add(workplaceButton);
        }
        return result;
    }
1173677
function gotList(thelist) {
  println("List of Serial Ports:");
  // theList is an array of their names
  for (var i = 0; i < thelist.length; i++) {
    // Display in the console
    println(i + " " + thelist[i]);
  }
}
599148
def buttons(self):
        
        all_buttons = []
        for buttons in self._buttons.values():
            all_buttons += buttons
        return all_buttons
1204238
def getSNPSetsList() :
	""""""
	import rabaDB.filters as rfilt
	f = rfilt.RabaQuery(SNPMaster)
	names = []
	for g in f.iterRun() :
		names.append(g.setName)
	return names
1133209
def remotes_with_urls
      result = {}
      git_call('remote -vv').split("\n").each do |line|
        entries = line.split("\t")
        remote = entries.first
        target_entry = entries.last.split(' ')
        direction = target_entry.last[1..-2].to_sym
        target_url = target_entry.first
        result[remote] ||= {}
        result[remote][direction] = target_url
      end
      result
    end
501079
def get_view_settings(self):
        """"""
        settings = {}
        for name in REMOTE_SETTINGS:
            settings[name] = getattr(self, name)
        return settings
184481
def getAllSystemVariables(self, remote):
        """"""
        variables = {}
        if self.remotes[remote]['username'] and self.remotes[remote]['password']:
            LOG.debug(
                "ServerThread.getAllSystemVariables: Getting all System variables via JSON-RPC")
            session = self.jsonRpcLogin(remote)
            if not session:
                return
            try:
                params = {"_session_id_": session}
                response = self._rpcfunctions.jsonRpcPost(
                    self.remotes[remote]['ip'], self.remotes[remote].get('jsonport', DEFAULT_JSONPORT), "SysVar.getAll", params)
                if response['error'] is None and response['result']:
                    for var in response['result']:
                        key, value = self.parseCCUSysVar(var)
                        variables[key] = value

                self.jsonRpcLogout(remote, session)
            except Exception as err:
                self.jsonRpcLogout(remote, session)
                LOG.warning(
                    "ServerThread.getAllSystemVariables: Exception: %s" % str(err))
        else:
            try:
                variables = self.proxies[
                    "%s-%s" % (self._interface_id, remote)].getAllSystemVariables()
            except Exception as err:
                LOG.debug(
                    "ServerThread.getAllSystemVariables: Exception: %s" % str(err))
        return variables
428370
async def get_buttons(self):
        
        if not self.buttons and self.reply_markup:
            chat = await self.get_input_chat()
            if not chat:
                return
            try:
                bot = self._needed_markup_bot()
            except ValueError:
                await self._reload_message()
                bot = self._needed_markup_bot()  # TODO use via_input_bot

            self._set_buttons(chat, bot)

        return self._buttons
10481
public List<InlineKeyboardButton> toButtons() {
        return buttons.stream()
                .map(InlineMenuButton::toKeyboardButton)
                .collect(Collectors.toList());
    }
827835
def get_issue_remotelinks(self, issue_key, global_id=None, internal_id=None):
        
        return self.get_issue_remote_links(issue_key, global_id, internal_id)
660165
def remote_list(timestamps=True):
    
    r = get_remote_file(DICTS_URL)
    lst = []
    for f in r.text.split('\n'):
        if not f:
            continue
        name, date = f.split(':')
        name = name.replace('.txt', '')
        lst.append((name, int(date)) if timestamps else name)

    return lst
349574
private List<E> remoteList() {
        List<E> result = (List<E>) cache.get(key);
        return result == null ? (List<E>) Collections.emptyList() : result;
    }
88569
def check_presses(self):
        
        pressed = []
        for button, state in self.buttons.items():
            if state.was_pressed_since_last_check:
                pressed.append(button)
                state.was_pressed_since_last_check = False
        self.__presses = ButtonPresses(pressed)
        return self.__presses
1278082
def get_action_methods(self):
        
        return [(name, getattr(self, name))
                for name, _ in Action.get_command_types()]