def get_realm_list(self): rs = ResourceSystem(self.env) return PrefixList([each + ":" for each in rs.get_known_realms()])
def _complete_search_command(self, args): fts = FullTextSearch(self.env) if len(args) == 1: return PrefixList(fts.search_realms)