def get(self, name=None, plugin=None): """ Returns servers, which can be filtered by name or plugin. :param name: name of the server :type name: str :param plugin: plugin name, which registers the servers :return: None, single server or dict of servers """ return gw_get(self._servers, name, plugin)
def get(self, name=None, plugin=None): return gw_get(self._providers, name, plugin)
def get(self, csv_file=None, plugin=None): gw_get(self._watchers, csv_file, plugin)
def get(self, name=None, plugin=None): return gw_get(self.docs, name, plugin)
def get(self, name=None, plugin=None): return gw_get(self._routes, name, plugin)
def get(self, name=None, plugin=None, cluster="base"): if cluster not in self._menus.keys(): return {} return gw_get(self._menus[cluster], name, plugin)
def get(self, name=None, plugin=None): return gw_get(self._contexts, name, plugin)